JollyUI
  1. Docs
  2. components
  3. Searchfield

Searchfield

A search field allows a user to enter and clear a search query.

Installation

npx @sly-cli/sly add jolly-ui searchfield

Note: Only the default style can be installed via CLI at the moment

Usage

Basic

Disabled

Custom Icons

You provide the icons for the magnifying glass and close button. Please ensure you use aria-hidden on these.