Use the buridan CLI to add components and themes to your project.
Install the CLI using pip:
bash
All buridan commands must be executed from your Reflex project root, where the rxconfig.py file is located.
Initialize Buridan UI in your project. This command generates the assets/globals.css file and updates your rxconfig.py with the required Tailwind configuration and theme tokens.
bash
Arguments:
--preset: The theme preset ID from the Buridan UI creator.
--include: Specify full to include all available components or theme-only for just the CSS and configuration. Defaults to full.
Add specific components and their required dependencies to your project.
bash
You can add multiple components at once:
bash
This command automatically resolves and adds any required utilities, icons, or base components while maintaining the correct directory structure.
Display all available components that can be added to your project.
bash