Installation
Install Leaf UI in your React application:
React 18 or 19 and the matching React DOM version must be installed in your application. See the current release on npm.
Styles
Import the compiled stylesheet once in the application entry:
The package includes compiled CSS; consuming it does not require Sass. Configure colors, shapes and sizes through ConfigProvider. Custom components can read the resulting CSS variables. See SSR usage for framework entry points.
Icons
When importing icons in your application, install Lucide:
See icons for examples.
Compatibility
Leaf UI includes ESM and CommonJS entry points, TypeScript declarations, and support for modern browsers with CSS variables and color-mix(). Continue with quick start.