Skip to main content

Variable: AlertTitle

@arolariu/components


@arolariu/components / AlertTitle

Variable: AlertTitle

const AlertTitle: ForwardRefExoticComponent<AlertTitleProps & RefAttributes<HTMLHeadingElement>>

Defined in: components/ui/alert.tsx:100

The heading slot for the primary alert message.

Remarks

Rendering Context: Server- and client-compatible presentational component.

Renders an <h5> element styled for compact but prominent messaging. Pair it with AlertDescription when the alert needs supporting explanatory text.

Example

<AlertTitle>Heads up</AlertTitle>

See

// was this page useful?