Chat

The Chat component provides a reusable pattern for chat in the interface.

Chat

@chat([]) @endchat

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.
var(--border-radius) range - Border Radius
var(--color--surface) color - Surface
var(--color--surface-alt) color - Manual companion token for subtle surface backgrounds.
var(--color--surface-contrast) color - Used for text and icons on surface backgrounds with less contrast.
var(--color--surface-border) color - Manual companion token for borders on surface elements.
var(--color--surface-contrast-muted) color - Derived muted contrast for text and icons on surface backgrounds.
var(--border-width) range - Size
var(--color--secondary) color - Secondary
var(--color--secondary-contrast) color - Secondary Contrast
var(--color--secondary-border) color - Manual companion token for secondary border and hover states.
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Corner Shape
2 range - Scales the border radius locally without changing the global border radius scale.

Similar components