Skip to content

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.

TypeDefaultRequired
'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark''primary'❌

size ​

Size of the spinner.

TypeDefaultRequired
'sm' \| 'md' \| 'lg''md'❌

speed ​

Speed of the animation.

TypeDefaultRequired
'slow' \| 'normal' \| 'fast''normal'❌

design ​

Design line (or inherit from data-design).

TypeDefaultRequired
'tuix' | 'rubik'— (inherits from data-design)❌

CSS Custom Properties ​

TokenDefaultDescription
--font-mono"JetBrains Mono", ui-monospace, monospaceMonospace font stack for code-like content (key labels, log lines, chips).
--accentfrom theme (--ctp-latte-mauve / --ctp-mocha-mauve)Accent color, mapped from the active semantic color.
--color-secondaryfrom theme (--ctp-latte-lavender / --ctp-mocha-lavender)Secondary semantic color (lavender in Catppuccin).

Ver Theming para la convención completa.