Command Menu

Search documentation, components, and switch theme.

Atoms

Label

Renders an accessible label associated with controls.

shadcn/ui
Docs

Installation#

npx shadcn@latest add @formance/label

Install the following dependencies:

npm install radix-ui

Copy 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>