hooks
use-user-preference
SSR-safe localStorage with cross-tab sync — reads return a default during SSR, hydrates on mount, and stays in sync across tabs.
Three theme buttons — the selection persists in localStorage and syncs across tabs.
Installation
import from @workspace/ui — module-owned, not registry-installable