Docs
Time

Time

Displays a specific time (or datetime).

Installation

pnpm dlx cross-env REGISTRY_URL=https://ui-x.junwen-k.dev/r pnpm dlx shadcn@latest add time

Usage

import { Time } from "@/components/ui/time"
<Time />

Examples

Default

Format