Components › Display

Timestamp

Display a date or time with a machine-readable value.

Installation

npx plankui@latest add timestamp

Usage

import { Timestamp } from "@/components/ui/timestamp";

<Timestamp dateTime="2026-11-16">Nov 16</Timestamp>

API reference

PropTypeDefaultDescription
dateTimestringrequiredMachine-readable date or time.
childrenReactNodedateTimeDisplay text for the date or time.

View the source on GitHub