CLI
Use the apen-ui CLI to set up your project and add components.
init
Detects your import alias, global CSS file and package manager, then sets everything up.
pnpm dlx apen-ui@latest initadd
Adds components and everything they depend on. For example, sidebar also adds button and tooltip. Imports are rewritten to the aliases in apen.json. Files you already have are never overwritten unless you pass --overwrite. Run it with no arguments to pick from a list.
pnpm dlx apen-ui@latest add sidebar stat-card tablelist
Prints every available component, grouped by category.
pnpm dlx apen-ui@latest listapen.json
Created by init. Change the aliases here if your project keeps components somewhere else.
Registry
The registry ships inside the CLI, so it works offline and always matches the CLI version. This site also serves it as JSON at /r/index.json and /r/[name].json. Point the CLI at a hosted copy with --registry https://your-site.com/r or the APEN_UI_REGISTRY environment variable.