Skip to content

About

Component library for building applications that flourish

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

logo
cattleya-ui

Component library for building applications that flourish.

Install · Usage · Components

How to install

npm install cattleya-ui

Usage

Import the design system styles once in your app entry:

import 'cattleya-ui/styles.css'

Components live under cattleya-ui and follow a copy-friendly source style — browse them in Storybook, then bring the ones you need into your project.

import { Button } from './components/button'

export function Example() {
  return <Button variant="default">Button</Button>
}

Wondering why components aren't imported directly from the package? See Why copy-paste instead of a direct import.

Components

Component Description
Accordion Expandable sections with open/close animation
Avatar Image or fallback initials
Badge Compact status label (default, outline, …)
Button Action button (default, outline, success, destructive)
Card Content surface with border and padding
Checkbox Animated checked / indeterminate states
Dialog Modal overlay with title, description, and footer
DropdownMenu Animated menu with trigger and items
Input Text field with animated placeholder
Spinner Loading indicator
Switch Toggle control
Tooltip Contextual hint on hover/focus

Design tokens

Colors (base / semantic / component), spacing, radius, and typography are documented in Storybook under Design System.

TypeScript

Components are written in TypeScript (.tsx). Types ship with the source — no separate @types package required.

Contributing

Read the contributing guide.

License

© Licensed under the MIT LICENSE.

About

Component library for building applications that flourish

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages