Skip to main content Red Hat Design System logo Contribute on Github

Timestamp

Overview Style Guidelines Code Demos Accessibility

Style

A timestamp is a simple line of text that displays date and time values.

Anatomy

Anatomy of a timestamp which is a simple line of text showing the date first and then the time after
  1. Date
  2. Time

Size

The size of a timestamp is determined by the text size it is applied to.

Two lines of text of various sizes with timestamps applied, one is 18px and the other is 24px

Tooltip

Two lines of text with timestamps applied, one is showing no styling and the other is showing a dashed underline.

Light theme badge

Theme

A timestamp can be used in the same themes as text.

Light theme

Dark theme

Interaction states

If a timestamp is linked, the interaction states are the same as a link. Go to the Link page to see the interaction states.

© 2021-2024 Red Hat, Inc. Deploys by Netlify