Chat

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

Chat

API

Parameter Default Type Description
null ?string -
false boolean -
md string -
[] array -

Subcomponents

Child components for chat, including purpose and supported Blade parameters.

Chat Input

Blade directive: @chat__input()

-

Parameter Default Type Purpose
null ?string -
null ?string -
[] array Additional CSS classes added to the wrapping element.
[] array Additional HTML attributes added to the wrapping element.

Chat Message

Blade directive: @chat__message()

-

Parameter Default Type Purpose
false boolean -
[] array Additional CSS classes added to the wrapping element.
[] array Additional HTML attributes added to the wrapping element.

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