Skip to content

TipBox ​

Notification component with icon, title and message.

TipBox

Design lines ​

ℹHeads up
Disk at 90%.
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    <TipBox title="Heads up" design="tuix">Disk at 90%.</TipBox>8  </TabPanel>9  <TabPanel value="rubik">10    <TipBox title="Heads up" design="rubik">Disk at 90%.</TipBox>11  </TabPanel>12</Tabs>

Demo ​

Basic (type) ​

Shows semantic color variants with a title and a message.

ℹInformation
Operation completed successfully.
⚠Warning
Check the permissions before continuing.
✖Critical error
Could not connect to the server.
vue
1<TipBox color="primary" title="Information" message="Operation completed successfully." />2<TipBox color="warning" title="Warning" message="Check the permissions before continuing." />3<TipBox color="danger" title="Critical error" message="Could not connect to the server." />

Props ​

color ​

Semantic color of the border and icon.

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

title ​

Optional bold title.

TypeDefaultRequired
string''❌

message ​

Optional descriptive message.

TypeDefaultRequired
string''❌

design ​

Design line (or inherit from data-design).

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

Slots ​

SlotDescription
defaultCustom content (replaces title/message)

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.
--bgfrom theme (--ctp-latte-base / --ctp-mocha-base)Base background of the surface.
--bg-elevatedfrom theme (--ctp-latte-surface0 / --ctp-mocha-surface0)Background of floating surfaces (modals, dropdowns, popovers).
--bg-panelfrom theme (--ctp-latte-surface1 / --ctp-mocha-surface1)Background of panel-like raised surfaces (cards, accordions).
--borderfrom theme (--ctp-latte-surface0 / --ctp-mocha-surface0)Outline and divider color for surfaces.
--textfrom theme (--ctp-latte-text / --ctp-mocha-text)Primary text color used inside the component.
--color-primaryfrom theme (--ctp-latte-mauve / --ctp-mocha-mauve)Primary semantic color (mauve in Catppuccin).

Ver Theming para la convención completa.