Component Library

Browse, preview, and copy components

CLI Reference

Scaffold full Next.js projects and add individual components with one command.

npx kaeyros-ui@latest init

How it works

1

Run the command

No global install needed. npx downloads the latest CLI from npm automatically.

npx kaeyros-ui@latest init
2

Pick a template

The interactive prompt shows all 9 templates. Select one or pass --template flag.

? Which template? › ...
3

Start coding

The CLI copies template files, installs dependencies, and you're ready to go.

cd my-app && npm run dev

Oui — quand le package est publié sur npm, tout est en ligne

Lorsque kaeyros-ui est publié sur npm avec npm publish, quand quelqu'un tape npx kaeyros-ui@latest, npm télécharge automatiquement la dernière version du package — CLI, templates, et composants inclus. Les fichiers dist/ et templates/ sont bundlés dans le package npm.

cd packages/cli
npm login
npm publish --access public

Commands

npx kaeyros-ui@latest initinit

Scaffold a complete Next.js project from a template.

Options

-t, --template <slug>Template slug (e.g. dashboard-analytics)
-n, --name <name>Project name / folder
-d, --dir <path>Target directory (default: current dir)

Examples

npx kaeyros-ui@latest init
npx kaeyros-ui@latest init --template oim-platform --name my-app
npx kaeyros-ui@latest init -t admin-crm -n crm-app -d ./apps
npx kaeyros-ui@latest addadd

Add individual UI components to an existing project.

Options

[component]Component name (optional — shows interactive picker if omitted)

Examples

npx kaeyros-ui@latest add
npx kaeyros-ui@latest add kpi-card
npx kaeyros-ui@latest add opportunity-card
npx kaeyros-ui@latest add step-wizard
npx kaeyros-ui@latest listlist

List all available templates with descriptions and tags.

Options

-s, --search <query>Filter templates by name, description, or tag

Examples

npx kaeyros-ui@latest list
npx kaeyros-ui@latest list --search dashboard
npx kaeyros-ui@latest ls

All Templates

9 templates

Dashboard Analytics

Dashboard · 4 pages

analyticschartsrecharts
--template dashboard-analytics

Booking System

Application · 7 pages

bookingappointmentscalendar
--template booking-system

Admin Panel

Dashboard · 8 pages

adminrbacusers
--template admin-panel

SaaS Platform

Application · 9 pages

saasmulti-rolechat
--template saas-platform

Restaurant POS

Application · 7 pages

posrestaurantorders
--template restaurant-pos

Marketplace

Application · 9 pages

marketplaceservices
--template marketplace

OIM Platform

Application · 8 pages

opportunitiesrecommendationswizard
--template oim-platform

Analytics Map Dashboard

Dashboard · 7 pages

mapgallerycharts
--template analytics-map-dashboard

Admin CRM

Dashboard · 10 pages

crmstaffsupport
--template admin-crm

All Components

34 components
npx kaeyros-ui@latest add [component-name]

floating-input

Forms

multi-select

Forms

image-uploader

Forms

step-wizard

Forms

responsive-table

Data Display

data-detail-card

Data Display

stat-card-decorated

Dashboard

quick-action-card

Dashboard

kpi-card

Dashboard

generic-widget

Dashboard

appointment-card

Booking

time-slot-picker

Booking

availability-grid

Booking

chat-message-bubble

Chat

chat-input-advanced

Chat

conversation-list

Chat

order-card

Commerce

pos-terminal

Commerce

delivery-tracker

Commerce

opportunity-card

Marketplace

filter-sidebar

Marketplace

announcement-card

Marketplace

service-card

Marketplace

lightbox

Media

photo-gallery

Media

hero-section

Landing

profile-card

Profile

onboarding-flow

Profile

auth-layout

Auth

notification-dropdown

Navigation

collapsible-sidebar

Navigation

role-switcher

Navigation

confirmation-modal

Overlays

progress-banner

Feedback

Publish to npm

Once published on npm, anyone in the world can scaffold your templates with a single npx command. No global installation required — npm handles the download automatically.

1
cd ui-library-creation/packages/cli
2
npm run build
3
npm login
4
npm publish --access public

What's bundled in the npm package

dist/

Compiled CLI (ESM, ~38 KB)

templates/

9 complete project templates

templates/*/src/

Full app source code per template

Package name: kaeyros-ui

Défini dans packages/cli/package.json. Le champ "bin" pointe vers ./dist/index.js, ce qui active la commande npx kaeyros-ui.