C
Cel Shading
StyleKit →
赛璐璐动画风

CelShading

Thick ink outlines. Flat saturated fills. Hard offset shadows. Zero gradients. The aesthetic of classic anime cels made into UI.

★
POW!
ZAP!
Components

UI Elements

Thick outlines, flat fills, hard shadows — every component drawn with anime ink.

Primary Buttons

Ghost & Disabled

Size Scale

Interaction tokens

shadow-[3px_3px_0_#1a1a2e] hover:shadow-[5px_5px_0_#1a1a2e] active:translate-x-[2px] active:translate-y-[2px] active:shadow-none
Palette

Color System

Six flat colors drawn straight from the anime cel paint box. No gradients, no blends.

#1a1a2e

Ink Black

Primary

#fafaf5

Paper White

Background

#e63946

Anime Red

Accent

#4ea8de

Sky Blue

Cool

#2ecc71

Vivid Green

Success

#f1c40f

Sun Yellow

Highlight

Rule: Always Flat!

These six colors are always used as pure flat fills — never as gradient stops or with opacity blending. The ink outline does all the separation work.

Typography

Ink Type

Bold headings rooted in manga lettering. Clean body text for readability.

Heading Scale

H1 Heading

text-5xl font-black + ink shadow

H2 Heading

text-3xl font-black accent color

H3 Heading

text-2xl font-black ink black

H4 Heading

text-xl font-black

Body & UI Text

Body text uses font-bold for consistent ink weight. Cel shading is a style that thrives on confident, readable lettering — no thin strokes allowed.

text-base font-bold

Supporting text is muted but still bold. Opacity 60% on ink black, never thin font-weight.

text-sm font-bold opacity-60

Caption Label — Scene 1 Take 3

text-xs font-black uppercase tracking-widest

“I will surpass my limits!”

— Dramatic Protagonist

Principles

Design Rules

The laws of the cel-shading dojo. Follow them and your UI will look like a Ghibli cut sheet.

✓Do This
  • +3px thick black outline on ALL bordered elements
  • +Hard offset shadow — shadow-[3px_3px_0_#1a1a2e]
  • +Flat solid color fills — no gradients whatsoever
  • +rounded-xl for character-design friendly shapes
  • +Speed lines as SVG decoration in hero sections
  • +Comic-style panel layout for section groupings
  • +hover:shadow-[5px_5px_0_#1a1a2e] deeper shadow on hover
  • +active:translate-x-[2px] active:translate-y-[2px] press effect
  • +font-black for headings — ultra bold, never thin
  • +Use accent color blocks to separate comic panels
✕Never Do This
  • -No gradients or smooth color transitions
  • -No soft box-shadow blur (only hard 0-blur offset)
  • -No thin borders (always at least 2px, prefer 3px)
  • -No soft pastel overall tone
  • -No realistic textures or surface details
  • -No light font-weight (font-light, font-normal)
  • -No rounded-full on cards or large containers
  • -No transparency or opacity blending on fills
  • -No smooth hover transitions over 150ms
  • -No drop shadows with blur radius
Visual Comparison: Shadow Style

Correct: Hard Offset Shadow

Anime Button
box-shadow: 4px 4px 0 #1a1a2e

Wrong: Soft Blur Shadow

Anime Button
box-shadow: 0 8px 24px rgba(..., 0.5) — WRONG
Anatomy

The Four Laws

Every cel-shading element follows four fundamental laws — master these and you master the style.

01The Outline

Every element gets a 3px solid #1a1a2e border. No exceptions. This is the ink that defines the world.

02The Shadow

Hard offset drop shadow — 3-5px shift, zero blur. Creates dimension without softness.

03The Fill

Pure flat color. No gradient, no blur, no texture. One color per region, drawn like paint from a tube.

04The Press
Hover
Active

Buttons compress on click — translate +2px to match shadow offset, shadow disappears. Pure physical feel.

Decoration

Speed Lines

Diagonal lines radiating from a focal point — the signature manga action element.

Centered

Focal: (50, 50) — 24 lines

Corner

Focal: (0, 100) — 16 lines

Top-Right

Focal: (100, 0) — 20 lines

SpeedLines SVG Component
<svg viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice">
  <g opacity={0.08} stroke="#1a1a2e" fill="none">
    {lines.map((l, i) => (
      <line
        key={i}
        x1={focalX} y1={focalY}
        x2={l.farX}  y2={l.farY}
        strokeWidth={i % 3 === 0 ? "0.5" : "0.25"}
      />
    ))}
  </g>
</svg>
Layout

Comic Panels

Section layouts modeled after manga panel grids. Thick borders divide content zones.

Scene 01

The
Hero Arrives!

Status

STR85
DEF62
SPD91

!

Alert!

This is the way!

★

Victory!

C
Cel Shading

StyleKit · Traditional anime aesthetic for UI

DocsAll StylesStyleKit →