Spinner
Animated terminal-style spinner with cyclic braille frames.
Spinner
Design lines
⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏
vue
1<Tabs defaultValue="tuix">2 <TabsList>3 <Tab value="tuix">TUIX</Tab>4 <Tab value="rubik">Rubik</Tab>5 </TabsList>6 <TabPanel value="tuix">7 <Spinner design="tuix" />8 </TabPanel>9 <TabPanel value="rubik">10 <Spinner design="rubik" />11 </TabPanel>12</Tabs>Demo
Color (color)
Semantic color of the spinner.
⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏
vue
1<Spinner color="primary" />2<Spinner color="secondary" />3<Spinner color="tertiary" />4<Spinner color="success" />5<Spinner color="warning" />6<Spinner color="danger" />7<Spinner color="light" />8<Spinner color="medium" />9<Spinner color="dark" />Size (size)
Spinner size: sm, md or lg.
⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏
vue
1<Spinner size="sm" />2<Spinner size="md" />3<Spinner size="lg" />Speed (speed)
Animation speed: slow, normal or fast.
⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏
vue
1<Spinner speed="slow" />2<Spinner speed="normal" />3<Spinner speed="fast" />Props
color
Semantic color of the spinner.
| Type | Default | Required |
|---|---|---|
'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark' | 'primary' | ❌ |
size
Size of the spinner.
| Type | Default | Required |
|---|---|---|
'sm' \| 'md' \| 'lg' | 'md' | ❌ |
speed
Speed of the animation.
| Type | Default | Required |
|---|---|---|
'slow' \| 'normal' \| 'fast' | 'normal' | ❌ |
design
Design line (or inherit from data-design).
| Type | Default | Required |
|---|---|---|
'tuix' | 'rubik' | — (inherits from data-design) | ❌ |
CSS Custom Properties
| Token | Default | Description |
|---|---|---|
--font-mono | "JetBrains Mono", ui-monospace, monospace | Monospace font stack for code-like content (key labels, log lines, chips). |
--accent | from theme (--ctp-latte-mauve / --ctp-mocha-mauve) | Accent color, mapped from the active semantic color. |
--color-secondary | from theme (--ctp-latte-lavender / --ctp-mocha-lavender) | Secondary semantic color (lavender in Catppuccin). |
Ver Theming para la convención completa.