pnpm dlx shadcn@latest add @saturation-ui/inputTailwind v4 — Source Scanning
The public shadcn registry installs component source into your project. If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:
@source "../components";This ensures all utility classes in CVA variants and data attribute selectors are included in your build.
import { Input } from "@/components/ui/input"<Input type="email" placeholder="Email" />| Prop | Type | Default | Description |
|---|---|---|---|
type | string | "text" | The input type (text, email, password, etc.). |
placeholder | string | — | Placeholder text. |
Please enter a valid email address.