asteria-ui
v0.1.0
Published
CLI for Asteria UI — a shadcn-style copy-paste registry of React + Tailwind components.
Maintainers
Readme
asteria-ui
CLI for Asteria UI — a shadcn-style, copy-paste
registry of React + Tailwind components. Running add copies component source
straight into your project; there's no runtime package to depend on.
Usage
npx asteria-ui init
npx asteria-ui add buttoninit writes a components.json config; add <name> fetches
{registry}/<name>.json and copies the component (plus its dependencies)
into your project.
Configuration
Set the registry URL in components.json:
{
"registry": "https://asteria-ui.vercel.app/r"
}or override it per-command with an environment variable:
ASTERIA_REGISTRY_URL=http://localhost:3000/r npx asteria-ui add buttonLinks
- Repo: https://github.com/dipendra0514/asteria-ui
- Issues: https://github.com/dipendra0514/asteria-ui/issues
- Docs & component registry: https://asteria-ui.vercel.app
License
MIT
