A set of common components I use on my sites.
Theme stack is @wrksz/themes (Next.js 16+); add it as a dependency alongside this package. Import theme primitives from @icco/react-common only (no direct @wrksz/themes imports required):
ThemeProvider—@icco/react-commonor@icco/react-common/ThemeProvider; thin wrapper around@wrksz/themes/next(async Server Component for rootlayout.tsx). Defaultsattribute="data-theme"(matches daisyUI/Tailwind[data-theme=*]),storage="hybrid", anddisableTransitionOnChangeto avoid SSR theme flash; pass any prop to override.ClientThemeProvider/useTheme—@icco/react-commonor@icco/react-common/ClientThemeProvider; for"use client"trees (nested providers, custom toggles).