55 components
Small pages, shared parts.
A deliciously gooey set of react components for Next.js sites: server-rendered by default, styled with SCSS modules, themed by tokens, light and dark. Roasted over a warm campfire until they're just right.
Principles
Built to weigh little
01
Server first
Most components are plain server components. Only the few that need state ship JavaScript.
02
Native where possible
Accordions are <details>, switches are checkboxes, segmented controls are radios. They work before hydration.
03
Tokens, not overrides
Colours, type, spacing and radii are custom properties. Theme a site by redefining them.
04
Static friendly
No server APIs, no runtime CSS. Everything exports with
output: "export".Getting started
Use it in a Next.js app
Install it
bun add github:Mellow-Technology/gui-mellow sassLet Next compile it
next.config.tstranspilePackages: ["gui-mellow"]Load the tokens once
app/layout.tsximport "gui-mellow/styles.scss";