Skip to content

DeadlineCountdown

stable

Real-time deadline countdown. Transitions color from validation → caution → agency as deadline approaches. Supports critical threshold configuration.

Visualization/Storybook ↗
import { DeadlineCountdown } from "@nodus/design-system/patterns"
Loading demo…

Props

deadlinerequired
Type stringDefault

ISO timestamp of the deadline.

label
Type stringDefault

Label prefix (default: Due).

criticalThresholdMs
Type numberDefault

Milliseconds before deadline to show critical state (default: 3600000 = 1h).

showSeconds
Type booleanDefault

Include seconds in countdown (default: false).

Metadatasemanticsemanticsemanticoutcomesemantictype
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?