CapsuleUI
Native Web Components, unstyled by design. Build your own design system on a solid foundation. Like shadcn, for the web platform.
Install / Use
/learn @ZiZIGY/CapsuleUIREADME
<p align="center">
<img src="./public/71d4e75e-f140-4533-b378-77c5b1587def.png" alt="CapsuleUI" width="560" />
</p>
<h2 align="center">CapsuleUI</h2>
<p align="center">
Native Web Components • Unstyled-by-design • Bring your own design system
</p>
Getting Started
- Initialize global Capsule folder (templates and globals):
npx @capsuleui/core init
# or choose a custom base directory
npx @capsuleui/core init --dir ./playground
- Add a component (installs into
@capsule/components/<prefix>-<component>):
npx @capsuleui/core add Slider --prefix ui
This will also:
- Inject component CSS into
@capsule/global.css - Inject component JS into
@capsule/index.js
- Run the playground (Vite):
npm run play
# or
yarn play
Quick Preview (Playground)
- Entry HTML:
playground/index.html - Global styles:
playground/@capsule/global.css - Components entry:
playground/@capsule/index.js
Open the dev server and experiment with components right away.
Project Structure
src/@template/— template used bycapsule 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/<prefix>-<component>/— individual component source
public/— static assets (e.g. images)playground/— local demo environment
Commands
npx @capsuleui/core init [-d, --dir <dir>]— create@capsulefolder from templatecapsule add <Component> [-p, --prefix <prefix>] [-m, --minify]— install a componentnpm run play— run Vite dev server forplayground
License
MIT
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
