Command Menu

Search documentation, components, and switch theme.

Atoms

Input

Text input with size variants.

shadcn/ui
Docs

Installation#

npx shadcn@latest add @formance/input

Install the following dependencies:

npm install class-variance-authority

Copy and paste the following code into your project.

Update the import paths to match your project setup.

Usage#

import { Input } from '@/components/ui/input'
<Input placeholder="Search transactions..." />

Examples#

Disabled#

With Label#

With Button#