Input
aqua/inputFreeComponent
The classic Aqua text field: white well with an inset shadow and blue focus halo.
Live preview
live · rendered by the registry
Rendered by aqua on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://aqua.duca.dev/r/input.jsonSource
1import * as React from "react"23import { cn } from "@/lib/utils"45function Input({ className, type, ...props }: React.ComponentProps<"input">) {6 return (7 <input8 type={type}9 data-slot="input"10 className={cn(11 "h-9 w-full min-w-0 rounded-lg border border-[#9599a1] bg-white px-3 py-1 text-[13px] text-[#33383f] shadow-[inset_0_2px_3px_rgba(20,30,50,0.15)] outline-none transition-[box-shadow,border-color] placeholder:text-[#9aa0a8] focus-visible:border-[var(--aqua-ring,#6cb0f7)] focus-visible:ring-[3px] focus-visible:ring-[var(--aqua-ring,#6cb0f7)]/70 disabled:pointer-events-none disabled:opacity-50",12 className13 )}14 {...props}15 />16 )17}1819export { Input }
Files it writes
More from aqua
All 26 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Alertalert | aqua | Components | Free | 1 dep | |
| Avataravatar | aqua | Components | Free | 1 dep | |
| Badgebadge | aqua | Components | Free | 2 deps | |
| Buttonbutton | aqua | Components | Free | 2 deps | |
| Chat Bubblechat-bubble | aqua | Components | Free | no deps | |
| Checkboxcheckbox | aqua | Components | Free | 2 deps | |
| Code Blockcode-block | aqua | Components | Free | 2 deps · 2 files | |
| Cursorcursor | aqua | Components | Free | no deps |
