ThresholdAlert
stableTime-critical alert banner for cutoff warnings and breach notifications
import { ThresholdAlert } from "@nodus/design-system/finance"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
titlereq | string | — | Alert headline |
urgencyreq | 'info' | 'warning' | 'critical' | — | Urgency level — controls color and weight |
children | ReactNode | — | Optional detail text or timestamp |
action | string | — | Action button label (e.g. 'Review positions') |
onAction | () => void | — | Action click handler |
titlerequiredType
stringDefault —Alert headline
urgencyrequiredType
'info' | 'warning' | 'critical'Default —Urgency level — controls color and weight
childrenType
ReactNodeDefault —Optional detail text or timestamp
actionType
stringDefault —Action button label (e.g. 'Review positions')
onActionType
() => voidDefault —Action click handler
MobileTouch Target
Alert CTA buttons must be ≥44px. Full-width on mobile.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?