Skip to content

Components

CapsuleUI provides a collection of modern, unstyled web components that you can add to your project. All components are built with Web Components standard and are fully customizable.

Available Components

Form Elements

  • Button - A button component with multiple variants and sizes
  • Switch - A toggle switch component
  • Range - A range slider component

Feedback

  • Alert - A component for displaying alert messages
  • Skeleton - A loading placeholder component

Data Display

Overlay

  • Tooltip - A tooltip component
  • Alert - An alert dialog component

Data Entry

Layout

Adding a Component

To add any of these components to your project, use:

bash
npx @zizigy/capsule add <ComponentName>

For example, to add the Button component:

bash
npx @zizigy/capsule add Button

See the Getting Started guide for more information.

Customization

All components are fully customizable. After adding a component, you'll find the source files in your @capsule/components directory. You can modify styles, behavior, and appearance to fit your needs.

Released under the MIT License.