Skip to content

Duotone Filter: Add Reset button to maintain consistency with Background and Text color controls #68671

@yogeshbhutkar

Description

@yogeshbhutkar

What problem does this address?

The current Duotone control lacks support for a reset button, which can be conditionally rendered based on the value of a clearable prop. Enhancing the component to include this functionality would allow users to easily clear the applied duotone effect, improving usability. This addition would also align the Duotone control with the behavior of other color controls, ensuring consistency across the interface.

What is your proposed solution?

Expose a clearable prop and conditionally render the reset button similar to other color controls.

Screenshots

Duotone Other Color Controls
Image Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions