Measured entry

kibo-relative-time

cardminimal-flat

A compound React client component for showing one time across multiple named time zones, with separate label, time, and date parts. It ships as copied registry source and formats values with the browser Intl API. It depends on React, Radix's controllable-state hook, Tailwind utility classes, and a cn helper backed by clsx and tailwind-merge.

Specimen
Harness screenshot of kibo-relative-time at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of kibo-relative-time at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kibo-relative-time at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for kibo-relative-time
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal30.8 KB (96.3 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A sound small utility for dashboards and team-presence cards: it builds, mounts, and exposes useful controlled formatting hooks. Adopt it when its copy-in Tailwind structure suits your stack, but plan a responsive pass and locale changes before using it in a broad public interface.

Use it if

  • You need a compact office-hours or distributed-team time-zone list.
  • You want either a live internal clock or a controlled date shared across several zones.
  • Your design system already uses Tailwind utilities and composable React primitives.

Skip it if

  • The card must fit narrow screens unchanged, since the supplied composition overflows there.
  • You need locale selection without editing the source, because formatting is fixed to US English.
  • You require semantic time elements or machine-readable timestamps; the supplied parts render plain divs.

Install

Installation record for kibo-relative-time
Declared dependencies@radix-ui/react-use-controllable-state, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, add the Radix controllable-state package, clsx, and tailwind-merge; provide the cn utility or replace its import; configure Tailwind for the included classes and theme tokens; and keep the file in a client-rendered React boundary.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-17

Alternatives

Other published entries for the card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.