Skip to content

pantoken / react

react

実験的

@pantoken/react@pantoken/web-components とトークンの CSS 上に構築された軽量な React ヘルパー。

  • <Icon> renders the <instui-icon> custom element (React 19 passes props to custom elements).
  • useToken reads a resolved --instui-* value at runtime (SSR-safe: returns the fallback on the server).
  • <TokenProvider> registers the elements and is where an app can inject the stylesheet.

インターフェース

関数

参照

register

register を再エクスポートします


registerLocalized

registerLocalized を再エクスポートします