Introduction

Creu is a React component library. Its visual language is Creumorphism: light neumorphism on neutral surfaces, soft pressed-in shadows and a single green accent.

The kit ships 126 components, from Button to Data Grid. Everything is driven by plain CSS variables and the whole look lives in one stylesheet. The dark theme is the default; a light theme activates through one data-theme attribute on <html>. The library has zero runtime dependencies, and components take icons as ReactNode props, so it never locks you into an icon set.

Quick start

Install the package and import the stylesheet once:

Terminal
npm install @crystalplatforms/creu
TSX
import '@crystalplatforms/creu/creu.css';
import { Button } from '@crystalplatforms/creu';

<Button variant="accent">Ship it</Button>

Set the theme on the root element. Dark is the default:

HTML
<html lang="en" data-theme="dark">

The tokens reference three typefaces: ABeeZee (sans), IBM Plex Mono (mono) and Source Serif 4 (serif). The package ships CSS, not font files. Load the families yourself, from Google Fonts or self-hosted, the way this docs site does.

The catalog

126 components in seven groups. The sidebar lists them all; each group starts here:

Next

Theming explains the token system with a live theme switch. Press ⌘K (or Ctrl+K) anywhere to search the catalog.