Palette
Colour theme
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

  1. Install it

    bun add github:Mellow-Technology/gui-mellow sass
  2. Let Next compile it

    next.config.ts
    transpilePackages: ["gui-mellow"]
  3. Load the tokens once

    app/layout.tsx
    import "gui-mellow/styles.scss";

Make it yours

Every colour, font, space and radius is a token. Override one in your stylesheet and every component follows.