S
suiss/ui
/
hooks
Files
Code
Info
Use Highlighted Code
use-highlighted-code
Highlights code with Shiki and returns the tokens for each line.
Use Message Scroller
use-message-scroller
The scroll state and controls behind the message scroller.
Use Mobile
use-mobile
Reports whether the viewport is narrower than the mobile breakpoint.
Use Platform
use-platform
Detects Apple platforms so shortcuts can show the matching modifier key.
Use Questionnaire
use-questionnaire
The state and keyboard shortcuts behind the questionnaire.
Use Scrollbar Gap
use-scrollbar-gap
Keeps the page from shifting when an overlay hides the scrollbar.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information
Use Highlighted Code
use-highlighted-code
Highlights code with Shiki and returns the tokens for each line.
Use Message Scroller
use-message-scroller
The scroll state and controls behind the message scroller.
Use Mobile
use-mobile
Reports whether the viewport is narrower than the mobile breakpoint.
Use Platform
use-platform
Detects Apple platforms so shortcuts can show the matching modifier key.
Use Questionnaire
use-questionnaire
The state and keyboard shortcuts behind the questionnaire.
Use Scrollbar Gap
use-scrollbar-gap
Keeps the page from shifting when an overlay hides the scrollbar.
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information