Search Field
Search with a / or ⌘K shortcut and live results.
Live preview · click to try it
Variants
2 named variants. Layer names match the names below.
InlineSearch Field / Inline
CommandSearch Field / Command
States
Search Field / Empty
Search Field / Typing
Button, Icon Button, Submit Button
Search Field / Results
Nothing in this slot.
Search Field / No Results
Usage
Do
- Component lists, journals, docs.
Don't
- Sites with under 10 pages.
Properties
| Property | Type or options | Default |
|---|---|---|
| Variant | Inline · Command | Inline |
| Placeholder | String | Search 36 components |
Styles it uses
Surface/FieldLine/StrongInk/MutedAccent/AcidState/Focus
Text: Field · Data Mono (shortcut)
Accessibility
- Keyboard reachable with a visible 3px State/Focus ring.
- Interactive parts use real buttons and links with accessible names.