Getting StartedCLI Reference
CLI Reference
Use the bloom ui CLI to initialize projects, install components, inspect local diffs, and configure design tokens.
bloom ui init
Initializes your Flutter project with the base design token system, color schemes, and configuration file.
Terminal
bash
Options
- --style <name>: Preferred style preset (nova, vega, maia, lyra, mira, luma, sera, rhea). Default is
nova. - --yes / -y: Skip interactive prompts and accept default configuration.
bloom ui add
Copies the specified component(s) and any required internal primitives into your lib/bloom_ui/primitives/ directory.
Terminal
bash
Options
- --overwrite / -o: Overwrite existing local component files if they already exist.
- --path <custom-dir>: Custom destination directory for the component files.
bloom ui list
Lists all available primitives in the Bloom registry along with their installation status in your current project.
Terminal
bash
bloom ui diff
Compares your local component implementation against the upstream registry to view improvements and updates.
Terminal
bash