Skip to Content
Sponsor

useToken

useToken is a custom hook used to resolve design tokens from the theme.

Import#

Return value#

The useToken hook retrieves whatever is in the theme at the given path(s).

Usage#

wonderful gradients

Editable Example
Edit this page