Back to Components
Components
Form Field
Wrapper for form controls with label, description, required indicator, and error messaging.
We will only use this for account updates.
Please enter a valid email.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/form-field.tsx
Installation
Using shadcn CLI
npx shadcn add form-field --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge