• design-system-ui
  • Docs
  • Components
  • Blocks
  • Utilities
    • Body OverflowH
    • Close Menu On ResizeH
    • Copy To ClipboardH
    • Dot Canvas
    • Is MobileH
    • Mode Toggle
    • Scroll Fade
    • Shimmer
    • Styles
    • Theme Toggle
    • Use Highlighted CodeH
  • Component flows
  1. Utilities
StorybookGitHub

Utilities

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

Body Overflow
Locks page scroll by toggling overflow-hidden on document.body.
Close Menu On Resize
Closes a mobile menu or overlay when the viewport is resized.
Copy To Clipboard
A small hook that copies text and tracks the latest copy result.
Dot Canvas
A decorative dotted canvas overlay for design surfaces and page backgrounds.
Is Mobile
Detects whether the viewport matches a mobile max-width media query.
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.
Use Highlighted Code
Streams Shiki-highlighted React nodes for a code string and language, including incremental updates.
Powered by Company Name