Atoms
Label
Renders an accessible label associated with controls.
shadcn/uiBased on shadcn/ui with Formance brand styling.
Installation#
npx shadcn@latest add @formance/labelInstall the following dependencies:
npm install radix-uiCopy and paste the following code into your project.
Update the import paths to match your project setup.
Usage#
import { Label } from '@/components/ui/label'<Label htmlFor="ledger-name">Ledger Name</Label>