Installation
bambiui is installed with the CLI. The CLI copies generated artifacts from the public registry into your application as source code.
Requirements
Section titled “Requirements”- Node.js
>=22.12.0 - A supported target framework: React, Solid, Svelte 5, or Vue 3
- A project where copied component source and CSS can live under your application source tree
Initialize
Section titled “Initialize”npx bambiui initInitialization adds the global bambi CSS, shared helper file, and project configuration expected by copied components.
Add components
Section titled “Add components”npx bambiui add button tabs --framework reactimport { Button } from "@/components/ui/button";npx bambiui add button tabs --framework solidimport { Button } from "~/components/ui/button";npx bambiui add button tabs --framework svelte<script lang="ts"> import { Button } from "$lib/components/ui/button";</script>npx bambiui add button tabs --framework vue<script setup lang="ts">import { Button } from "@/components/ui/button";</script>What gets copied?
Section titled “What gets copied?”The CLI copies only public registry files:
- generated framework component files
- component CSS files
- global CSS
- declared shared helpers
Installed output must not import internal contracts, controllers, primitives, generator code, or runtime @bambiui/* packages.
Next steps
Section titled “Next steps”Open a component page, copy the framework-specific usage snippet, preview the component behavior, then customize the tokens listed at the end of the page.