Timer using its Timestamp-matched default typography and an emphasized override.
Timer using its Timestamp-matched default typography and an emphasized override.
Astryx showcase: Timestamp.
Auto format that shows relative time for recent dates and switches to the full date for older ones. The default choice for most use cases.
Timestamp rendered in each available color variant: primary, secondary, disabled, and active.
All display formats side by side: date, date_time, time, and their system equivalents. Use date and date_time for user-facing UI, system variants for logs and dev tools.
Relative time labels from seconds to months ago, with hover tooltips showing the full date. Use in feeds, comment threads, and activity logs.
Timestamps with the timezone abbreviation appended. Enable isTimezoneShown for audiences across time zones, like audit logs or team calendars.
Hover tooltips that show one instant across several time zones or formats. Use tooltipEntries when readers must compare zones, like an incident log carrying both the reader's time and the event's origin zone.
Imperative toast notifications triggered with useToast and rendered in the toast viewport.
Persistent toasts with a trailing button or link so the user can act on the notification, like undoing a delete or viewing a report.
Prevent duplicate toasts with uniqueID. Use ignore to keep the first toast, or overwrite to replace it with updated content like a progress percentage.
Show a persistent toast and dismiss it programmatically using the function returned by useToast. Use for long-running operations that need manual cleanup.
Multiple toasts stacking vertically with smooth enter and exit animations. Click repeatedly to see how toasts queue and dismiss.
Info and error toast variants side by side. Info toasts auto-dismiss after 5 seconds, error toasts persist until the user dismisses them.
Astryx showcase: ToggleButton.
ToggleButtonGroup manages a set of ToggleButtons with single-select or multi-select behavior for options like view modes or filters.
Toggle buttons with colored icons in the pressed state. Shows accent-colored toolbar formatting and semantic reaction colors (yellow star, red heart, blue bookmark).
Toggle button groups in single-select and multi-select modes. Single selection acts as a view mode switcher; multiple selection forms a formatting toolbar.
Icon-only toggle buttons that swap between outline and solid icons when pressed. Use for actions like favorite, bookmark, or mute where the icon itself communicates the state.
Toggle buttons with visible text labels that show a font weight shift on press. Use when the icon alone is not enough to communicate the action.
Default, pressed, disabled, and loading states of a standalone toggle button. Shows how visual treatment changes across states.
A vertically stacked ToggleButtonGroup using the vertical orientation, shown with both single-select and multi-select behavior, ideal for sidebar-style option lists and vertical toolbars.
Astryx showcase: Token.
Interactive tokens that respond to clicks. Use for toggleable filters or tokens that open a detail view when selected.
Showing 529–552 of 682