Skip to main content

Commands

CommandDescription
elorm initInitialize elorm/ui in your project
elorm add [items...]Add components to your project
elorm search -q "query"Search the registry
elorm docs <item> [--json]Show component docs (JSON for AI agents)
elorm diff <item>Compare local vs registry version
elorm buildBuild registry JSON (maintainers)

Init flags

FlagDescription
-y, --yesSkip prompts, use defaults
-t, --template <next|vite>Framework template
--css <path>Global CSS file path
--ui-library <base-ui|radix>Headless primitive library
--base-color <color>Base color preset
--accent <accent>Accent color
--radius <default|compact|round>Border radius

Examples

Configuration

The elorm.json file controls aliases, framework, UI library, theme, and registry URLs: