Description
The SearchControl appearance–notably the light gray background–can make it appear disabled in some contexts.
This has come up a few times, most recently in #64935 (comment), pointed out by @keoshi.
So far as I can tell, the original design for this component was created solely for the Block inserter context. While it may work well there, it might be time to consider adding a style variant to create a more 'standard' appearance, more like regular inputs.
Muted variant
Light gray background, no border, right-aligned icon, for the block inserter:
Regular variant
Appearance essentially matches other inputs, with decorative icon on the left, for use in data views and other non-block-inserter environments.
Placing the decorative element (search icon) on the left, and reserving the suffix slot for the x
button would align with other input types like passwords:
Metadata
Assignees
Labels
Type
Projects
Status
No status
Status
🏗️ In Progress
Activity