Back to Components
Inputs
Currency Input
Amount input with a currency selector and symbol prefix for quick pricing entry.
▼
$
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/currency-input.tsx
Installation
Using shadcn CLI
npx shadcn add currency-input --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge