CapsuleUI: Native Web Components, unstyled by design. Build your own design system on a solid foundation. Like shadcn, for the web platform.
npm install @capsuleui/core

Native Web Components • Unstyled-by-design • Bring your own design system
---
1. Initialize global Capsule folder (templates and globals):
``bash`
npx @capsuleui/core initor choose a custom base directory
npx @capsuleui/core init --dir ./playground
2. Add a component (installs into @capsule/components/):
`bash`
npx @capsuleui/core add Slider --prefix ui
This will also:
- Inject component CSS into @capsule/global.css@capsule/index.js
- Inject component JS into
3. Run the playground (Vite):
`bash`
npm run playor
yarn play
- Entry HTML: playground/index.htmlplayground/@capsule/global.css
- Global styles: playground/@capsule/index.js
- Components entry:
Open the dev server and experiment with components right away.
- src/@template/ — template used by capsule init@capsule/
- — generated global folder in your project (globals + components)global.css
- — global CSS variables, resets and component importscomponents/init.js
- — entry point that imports all installed componentscomponents/
- — individual component sourcepublic/
- — static assets (e.g. images)playground/
- — local demo environment
- npx @capsuleui/core init [-d, --dir
— create @capsule folder from template
- capsule add — install a component
- npm run play — run Vite dev server for playground`MIT