• design-system-ui
  • Docs
  • Components
  • Blocks
  • Utilities
    • Mode Toggle
    • scroll-fade
    • shimmer
    • Styles
    • Theme Toggle
    • useBodyOverflow
    • useCloseMobileMenuOnResize
    • useCopyToClipboard
    • useIsMobile
  1. Utilities
StorybookGitHub

Utilities

Hooks, libraries, pages, files, themes, fonts, bases, styles, and other items.

Mode Toggle
Cycles light, dark, and system theme modes and persists the choice.
scroll-fade
Utilities for adding a fade effect to the edges of a scroll container.
shimmer
Utilities for adding a shimmer effect to text elements.
Styles
Design system globals and theme CSS for consumer apps.
Theme Toggle
Switches between branded data-theme palettes and persists the choice.
useBodyOverflow
Locks page scroll by toggling overflow-hidden on document.body.
useCloseMobileMenuOnResize
Closes a mobile menu or overlay when the viewport is resized.
useCopyToClipboard
A small hook that copies text and tracks the latest copy result.
useIsMobile
Detects whether the viewport matches a mobile max-width media query.
Powered by Company Name