@espresso-ui/cli
v0.1.6
Published
Framework-agnostic UI component installer for React and Vue. Copies editable source into your project, shadcn-style.
Downloads
683
Maintainers
Readme
@espresso-ui/cli
Framework-agnostic UI component CLI for React and Vue. Copies editable source into your project, shadcn-style.
Install
Install globally once:
npm install -g @espresso-ui/cliRequires Node.js 22.12+.
Commands
| Command | Description |
| ------------------ | -------------------------------------------------------------------- |
| init | Scaffold espresso.config.json, global CSS, and shared dependencies |
| add <component> | Copy a component into your project as editable source |
| theme list | List available themes |
| theme add <name> | Add a theme to your project |
| theme init | Create a custom theme file |
Quick start
npm install -g @espresso-ui/cli
espresso-ui init
espresso-ui add buttonImport the generated global CSS in your app entry:
@import "./styles/espresso.css";Then use the component:
import { Button } from "@/components/Button";
export default function App() {
return <Button>Hello</Button>;
}Documentation
Full docs: github.com/harshtandiya/espresso-ui
License
MIT
