@basex-ui/cli
v0.3.0
Published
CLI for scaffolding BaseX UI into projects
Maintainers
Readme
@basex-ui/cli
Scaffolding CLI for BaseX UI. Initialize a project, add components, switch themes, and list what's available.
Install
npm install -g @basex-ui/cli
# or use without installing
npx @basex-ui/cli <command>Commands
basex-ui init # set up BaseX UI in the current project
basex-ui add <component> # add a component (e.g. basex-ui add button)
basex-ui list # list all available components
basex-ui theme <name> # switch or apply a themeExample
cd my-vite-app
basex-ui init
basex-ui add button accordion dialogThe CLI installs the right packages, sets up StyleX, applies the default theme, and copies any component-specific assets you opt in to.
License
MIT — see the main repo.
