Components › Display
Timestamp
Display a date or time with a machine-readable value.
Installation
npx plankui@latest add timestampUsage
import { Timestamp } from "@/components/ui/timestamp";
<Timestamp dateTime="2026-11-16">Nov 16</Timestamp>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| dateTime | string | required | Machine-readable date or time. |
| children | ReactNode | dateTime | Display text for the date or time. |