Search Pill

Pill-shaped search input with a leading magnifier and an inline pill-shaped clear when there is a value.

design tokens

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Input9 } from "@/components/beste/piece/input9";

<Input9
  value="design tokens"
  placeholder="Search files…"
/>

More Input pieces

View all Input
Remind me to buy coffee beans on my way home

Pill dictation input with a blinking caret, live waveform bars, and a rose mic button while listening.

INV-2026-00421Auto

ID-style mono input with a leading hash, wide letter spacing, and a muted Auto-generated pill.

/^[a-z]+@beste\.co$/gi42

Regex field with slash delimiters, flag suffix in amber, and an emerald match-count pill on the right.

Mira violet#6D5EFA

Color field pairing a filled swatch with the chosen name and hex code and an eyedropper button.

How was your stay?
4.0
Tap to rate. Optional comment on the next step.

Five-star rater with filled amber stars in muted tiles and a decimal rating chip to the right.

small, compact, dense

Tight small-size text field for data tables and filter rails, with smaller type and tight padding.