Icons
Leaf UI uses Lucide icons. Install lucide-react when importing icons in your application:
Using icons
Button accepts startIcon and endIcon; Input accepts prefix and suffix. Import only the icons you need. Icons inherit the current text color.
Live previewIcon buttons
icons.tsx
Accessible names
Text supplies the name of a text button. Supply aria-label for icon-only buttons. Icons are decorative and should not be the only indication of an action. Icon properties accept ReactNode, so you can use your existing React icon components too.