DESIGN.md · Analysis

React Bits

reactbits.dev · 10 Nov 2026 · 44 colors · Geist

React Bits

Free, open-source React components for animated text, gradient backgrounds, interactive cards and micro-interactions, shipped as copy-paste source for developers and their agents.

Colors

surface#120f17
surface-dim#0e0b12
surface-bright#2b2633
surface-container-lowest#0a080e
surface-container-low#18151e
surface-container#1d1923
surface-container-high#221e29
surface-container-highest#2b2633
on-surface#f6f4f9
inverse-surface#f4f2f7
inverse-on-surface#141118
surface-tint#8864b6
primary#f4f2f7
on-primary#141118
primary-container#ffffff
on-primary-container#141118
inverse-primary#8864b6
secondary#b2a1b9
on-secondary#141118
secondary-container#2f293a
on-secondary-container#f6f4f9
tertiary#8864b6
on-tertiary#ffffff
tertiary-container#4c4451
on-tertiary-container#f6f4f9
error#ffb4ab
on-error#690005
error-container#93000a
on-error-container#ffdad6
primary-fixed#f4f2f7
primary-fixed-dim#e4e1ea
on-primary-fixed#141118
on-primary-fixed-variant#4c4451
secondary-fixed#b2a1b9
secondary-fixed-dim#9d8fa6
on-secondary-fixed#141118
on-secondary-fixed-variant#2f293a
tertiary-fixed#c9b6e2
tertiary-fixed-dim#8864b6
on-tertiary-fixed#1a1025
on-tertiary-fixed-variant#4c3a6a
background#120f17
on-background#f6f4f9
surface-variant#221e29

Typography

display
fontFamily: Geist · fontSize: 37.12px · fontWeight: 500 · lineHeight: 40.832px · letterSpacing: -1.33632px
headline-lg
fontFamily: Geist · fontSize: 37.12px · fontWeight: 500 · lineHeight: 40.832px · letterSpacing: -0.036em
headline-md
fontFamily: Geist · fontSize: 33.28px · fontWeight: 500 · lineHeight: 35.9424px · letterSpacing: -1.19808px
title-lg
fontFamily: Geist · fontSize: 20px · fontWeight: 500 · lineHeight: 26px · letterSpacing: -0.02em
body-lg
fontFamily: Geist · fontSize: 16px · fontWeight: 400 · lineHeight: 24px
body-md
fontFamily: Geist · fontSize: 16px · fontWeight: 400 · lineHeight: 24px
label-md
fontFamily: Geist · fontSize: 15px · fontWeight: 500 · lineHeight: 22.5px · letterSpacing: -0.15px
label-sm
fontFamily: Geist · fontSize: 13px · fontWeight: 500 · lineHeight: 18px · letterSpacing: 0.04em

Design guidance

Overview

React Bits is a free, open-source library of animated React components, aimed at frontend developers who want visually distinctive motion without building effects from scratch. Its aesthetic movement is Dark Minimalism with Glass Chrome: a near-black plum canvas (#120f17) carries the content, while floating navigation and code windows use translucent frosted surfaces (blur 24px, saturate 1.4) to read as physical panes of glass over the animated art. The emotional response is calm craftsmanship: the interface gets out of the way so the components can perform.

The voice is direct, confident and technical with a light showman's edge. Sentences are short and imperative ("Browse components", "Tune them yourself, or hand them to your agent"), and the vocabulary mixes precise engineering terms (props, amplitude, swell) with memorable promises ("websites people remember"). Example sentence: "216 animated components and backgrounds for React. Copy the source and make it yours."

Colors

The canvas is a warm near-black, #120f17, with a stacked set of plum-tinted greys (#18151e, #1d1923, #221e29, #2b2633) for elevated surfaces. Text is a cool off-white, #f6f4f9, with muted and faint variants at rgba(246, 244, 249, 0.6) and 0.38 for secondary copy and captions.

Primary (#f4f2f7) is the signature action colour: the "Browse components" CTA is a near-white pill with ink #141118 text, so the highest-contrast element on the page is always the main action. Secondary (#b2a1b9) is a dusty lilac used for supporting text accents and the "Star on GitHub" ghost treatment. Tertiary (#8864b6) is the brand violet, which also drives the --pro-base accent for the Pro upsell; it appears in gradients and focus rings (#a855f7 for focus-visible outlines). Borders are never solid greys: they are

Typography

The type system is a single geometric grotesque, Geist, used at 500 weight for display and headlines with aggressive negative tracking (-0.036em at 37px) so headings read dense and editorial. Body is 16px/24px at regular weight. Labels and buttons drop to 15px at 500 weight with -0.01em tracking. Small nav labels use 13px at +0.04em tracking, uppercase only for tags like "New" at 10px.

Code and keyboard-style content switch to a monospace (Geist Mono / ui-monospace) at 14px. Display showcase text in components may use Press Start 2P or Gochi Hand, but these are demo content, not chrome. Apply letter-spacing: -0.036em only at 33px and above; below 20px keep tracking at 0 to avoid clumping.

Layout

The layout is fluid up to a fixed container: the hero and navbar cap at 1276px (navbar 1680px in its open state) with 24px horizontal margins that collapse to 16px on mobile. A 12-column grid underpins component galleries. Whitespace is generous between hero blocks and tight within cards: use 2xl (16px) for card interior padding, xl (12px) between grid items, and reserve the 24px gutter for column separation.

Spacing scale is a 4px-based ladder (xs 4, sm 6, md 8, lg 10, xl 12, 2xl 16). Section separation relies on 40–56px vertical gaps rather than dividers.

Elevation & Depth

Depth comes from translucency and inner highlights rather than heavy drop shadows. The floating navbar, once scrolled, is Level 2: background #120f17 at 73% alpha, backdrop-filter blur(24px) saturate(1.4), border 1px rgba(255, 255, 255, 0.04), and box-shadow 0 8px 32px rgba(0, 0, 0, 0.28) with an inset 0 0.5px rgba(255, 255, 255, 0.08) top highlight.

Level 1 is the solid canvas. Level 3 is the preset menu and code windows: background rgba(24, 21, 30, 0.8), border 1px rgba(255, 255, 255, 0.08), shadow 0 2px 16px rgba(0, 0, 0, 0.2) plus inset 0 0.5px rgba(255, 255, 255, 0.06). Dropdown menus us

Shapes

The shape language is Soft-Technical: rounded enough to feel friendly, tight enough to feel like tooling. Buttons and pills use 13px (rounded.xl at 14px, measured as 13px on CTAs) for a near-capsule feel, cards and code windows use 14px, and inputs and small chips use 10px. Badges use 8px and full pills (9999px) are reserved for avatar-like dots and the theme toggle.

The reasoning is that 14px containers nest cleanly inside 10px controls with the standard 4–6px padding offset, keeping concentric curvature consistent across nested glass panels.

Components

Action Elements Primary buttons are near-white (#f4f2f7) pills, 40px tall, 13px radius, with 17px left and 21px right padding around an arrow icon. Hover shifts background to #ffffff and the element scales to 0.97 on :active over 150ms ease-out. Secondary buttons sit on rgba(34, 30, 41, 1) with a 1px border at --action-control-border and a 1px inset highlight; hover raises brightness to the surface-container-highest step over 150ms.

Containers & Surfaces Cards use #1d1923 with 14px radius and 16px padding, and lift to #221e29 on hover in 200ms. Code and terminal windows use the glass chrome spec: 1px rgba(255, 255, 255, 0.08) border, 14px radius, header bar at 36px height with 12px label text in on-surface-variant. Inner code wells use rgba(8, 6, 12, 0.3) with a 1px rgba(255, 255,

Do's and Don'ts

**Do**

  • Do make the primary CTA the near-white #f4f2f7 pill so it is the brightest element above the fold.
  • Do wrap floating chrome in backdrop-filter: blur(24px) saturate(1.4) over the animated canvas.
  • Do keep card corners at 14px and control corners at 10–13px so nested radii stay concentric.
  • Do use tracking of -0.036em only on headings at 33px and above.

**Don't**

  • Don't use pure #ffffff or pure #000000 for surfaces; stay on the plum-tinted #120f17 family.
  • Don't use solid grey borders; use rgba(255, 255, 255, 0.08) hairlines.
  • Don't add heavy drop shadows to cards; depth comes from translucency and inset highlights.
  • Don't use the brand violet #8864b6 as a CTA fill; reserve it for the Pro upsell and accents.

Made by Sokosumi: AI coworkers for marketing

This tool is free. Sokosumi gives marketing teams AI coworkers that deliver finished work as files: research, briefings, reports and content.

Start free

*No Credit Card required