Skip to main content Red Hat Design System logo Contribute on Github v2.0.0 Home
About About the design systemHow we buildRoadmap
Get started OverviewDesignersDevelopers
Foundations OverviewColorGridPersonalization patternsSpacingTypography
Tokens Overview Global colorBox shadowTypographyBorderOpacitySpaceLengthIconBreakpointsMedia queries
Elements All elements Accordion Alert Audio player Avatar Back to top Badge Blockquote Breadcrumb Button Call to action Card Code block Dialog Footer Health index Icon Navigation (primary)Planned Navigation (secondary) Pagination PopoverPlanned Progress stepsPlanned Site status Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed
Patterns All patternsAnnouncementCardDisclosureFilterFormLinkLink with iconLogo wallSearch barSkip navigationSticky bannerSticky cardTabsTileVideo thumbnail
Accessibility FundamentalsContentDesignDevelopmentContributorsQa and testingAssistive technologiesResources
Design/code status Release notes Get support

Timestamp

Overview Style Guidelines Code Demos Accessibility
  1. Style
  2. Size
  3. Tooltip
  4. Theme
  5. Interaction states
  1. Style
  2. Size
  3. Tooltip
  4. Theme
  5. Interaction states

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