Atoms
Button
Brand-aware button with color and size variants.
shadcn/uiBased on shadcn/ui with Formance brand styling.
Installation#
npx shadcn@latest add @formance/buttonInstall the following dependencies:
npm install class-variance-authority lucide-react radix-uiCopy and paste the following code into your project.
Update the import paths to match your project setup.
Usage#
import { Button } from '@/components/ui/button'<Button variant="primary">Click me</Button>