@streaming-ui/cli
v0.1.1
Published
Copy Streaming UI components (composers, model picker, agent team, thinking orbs…) into a React + Tailwind CSS v4 project.
Readme
@streaming-ui/cli
Copies Streaming UI components into your React + Tailwind CSS v4 project: composers, the model picker, the agent team, the thread navigator, thinking orbs and more.
npx @streaming-ui/cli add agent-team
bunx @streaming-ui/cli add composer-pill model-picker
pnpm dlx @streaming-ui/cli add thinking-orbWhat it does
- Reads each component from the Streaming UI registry, with every component it requires.
- Writes the files under the directory your tsconfig maps
@/*to (for example"paths": { "@/*": ["./src/*"] }, intsconfig.jsonortsconfig.app.json,extendsincluded). - Keeps any file of yours that differs from the registry version (
--overwritereplaces it). - Installs the npm packages the files import, with the package manager your lockfile names (bun, pnpm, yarn, else npm).
Then import the tokens once in your global CSS, after Tailwind:
@import "tailwindcss";
@import "./styles/streaming-ui.css";Options
| Option | Default | |
| --- | --- | --- |
| --registry <url\|dir> | https://streaming-ui.pulseview.app/r | Where the components are read |
| --cwd <dir> | current directory | Project directory (must hold a package.json) |
| --root <dir> | the @/* path of your tsconfig | Directory @/ points to |
| --overwrite | off | Replace files that differ from the registry version |
Every component, with a live preview and its install command: https://streaming-ui.pulseview.app/components.
Needs Node 18 or later. MIT.
