Solid.js components for websites and admin apps, styled with Tailwind CSS v4. The design system is inspired by Adobe Spectrum 2: semantic tokens, one size scale, every state designed, and accessibility built in. Interactive components are built on Ark UI.
npm install --save @webf/sprinklesDocumentation, with every component and block: https://sprinkles.webf.run.
Components are published as uncompiled Solid JSX (dist/index.jsx, under the
solid export condition), so the same build works for client rendering, SSR
and hydration. Your bundler must compile Solid JSX from dependencies:
vite-plugin-solid, @astrojs/solid-js and SolidStart do this out of the box.
With Tailwind v4 in your app, import the tokens after Tailwind; Sprinkles' classes are found automatically:
@import 'tailwindcss';
@import '@webf/sprinkles/theme.css';Without Tailwind, import the precompiled @webf/sprinkles/style.css.
Re-skin everything by overriding token values in your own :root
(--color-accent: …); see doc/design-tokens.md.
Every component supports both. Light is the default; opt in to dark with
color-scheme on <html> (or any element, for a dark subtree):
/* Follow the system setting (Tailwind: class="scheme-light-dark" on <html>) */
html {
color-scheme: light dark;
}
/* Or always dark (Tailwind: class="scheme-dark") */
html {
color-scheme: dark;
}