Input Group
Groups adjacent inputs and buttons together with seamless borders.
input-group-demo.app
Installation
terminal.sh
npx y2kui@latest add input-groupUsage
import { InputGroup } from "@/components/ui/input-group"
<InputGroup>
<input data-slot="input" placeholder="Search..." />
<button data-slot="button">Go</button>
</InputGroup>Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Additional Tailwind classes. |
children | ReactNode | — | Inputs and buttons. |