Inputs / Input Group

Input Group

<InputGroup />Stable

Input + leading/trailing addons (icons, buttons, text). The addons live inside the same bordered surface as the input, sharing the same focus ring.

import { InputGroup, InputGroupAddon, InputGroupInput } from "@/components/upnext";

Playground

Edit any prop in the inspector — preview and code update together. Hover any color for hex + token.

Preview

Code

import { InputGroup } from "@/components/upnext";
<InputGroup />

Variants

import { SearchInput } from "@/components/upnext";
// The clearable-search pattern is sealed into <SearchInput /> — see the
// SearchInput doc page for the full API. Don't hand-compose this with
// raw InputGroup + Search + X; that's the pattern this component exists
// to remove.
<SearchInput
className="w-72"
placeholder="Search recruits"
aria-label="Search recruits"
/>

Source

The wrapper is a thin re-export; the actual styling lives in the shadcn primitive.