Skip to content

Search Block: Add icon-only option #31128

@jasmussen

Description

@jasmussen

What problem does this address?

The search block comes with a number of easily configurable defaults:

search

Including:

  • It's resizable
  • Label can be toggled
  • Button can be an icon button
  • Button can be toggled off, shown outside, or shown inside

One nice addition would be the ability to show only the icon.

What is your proposed solution?

Add an option to show just the search button:

Screenshot 2021-04-23 at 13 21 25

On focus the input field would then expand to allow search.

Metadata

Metadata

Assignees

Labels

[Block] SearchAffects the Search Block - used to display a search field[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions