Due date
When a thing is due, in words and quiet ink, and in the danger ink once it is late.
import { DueDate } from "@arcadia/ui"Nov 21TomorrowNov 14, lateJan 5, 2027
TSX
Examples
DueDate
dayrequired- Day
- The day it is due,
YYYY-MM-DD. today- Day
- The day it is, given by the product. Default: the machine's own day.
locale- string
- The reader's locale for the day's words. Default: the platform's.
late- booleanDefault false
- The product's call (the day is before today and the thing is not done): both in the danger ink, and "late" said after the day.
done- booleanDefault false
- The thing is done: never late, whatever the day.
iconOnly- booleanDefault false
- The glyph alone, in its ink, named by the day.
rootStyle- RootStyle
- Typed StyleX override: where it sits.
Rest props go to <span> props.