Back

Alert

Alerts display important messages with color-coded severity levels. Use InsightCard for clinical contexts with the left accent bar pattern.

Clinical Insights

InsightCard provides severity-based styling for medical contexts.

Expand / Collapse

Cards are collapsed by default, showing only the title. Click the title or chevron to expand. Use defaultExpanded to start open.

With Citations

Color Reference

See the full Colors page for complete insight color documentation including dark mode values.

Info#4A7A8C
Warning#D9A036
Critical#C24E42
Positive#388E3C

Base Alert

The underlying shadcn/ui Alert component. Use for non-clinical system messages.

InsightCard Props

PropTypeDefaultDescription
type"info" | "warning" | "critical" | "positive"Severity level determining color scheme
titlestringTitle of the insight
contentstringMain content/description
citationsstring[][]Optional source citations
defaultExpandedbooleanfalseWhether the card starts expanded