Material You (M3) — seed purple #6750A4, tonal surfaces #FFFBFE, pill buttons, organic blur, Roboto. Use when user wants material you, material design 3, m3, google material, pill, tonal, organic.
Ships in design-template. Installing the plugin adds it to Claude Code.
How it loads
What the skill costs in Claude's context, stage by stage
Every session~54 tokens
Name and description: Claude knows it exists.
When invoked~6.6k tokens
SKILL.md joins the conversation and stays.
5k kept after compaction
Only if needednone
None: SKILL.md is the whole skill.
SKILL.md
567 lines · ~6.6k tokens
design-template-material
Material You (Material Design 3) — personal tonal adaptive. One template in design-template family. Copy this folder to create next template: Copy-Item design-template-material design-template-<nama>.
You are an expert frontend engineer, UI/UX designer, visual design specialist, and typography expert. Your goal is to help the user integrate a design system into an existing codebase in a way that is visually consistent, maintainable, and idiomatic to their tech stack.
Before proposing or writing any code, first build a clear mental model of the current system:
Understand the existing design tokens (colors, spacing, typography, radii, shadows), global styles, and utility patterns.
Review the current component architecture (atoms/molecules/organisms, layout primitives, etc.) and naming conventions.
Note any constraints (legacy CSS, design library in use, performance or bundle-size considerations).
Ask the user focused questions to understand the user's goals. Do they want:
a specific component or page redesigned in the new style,
existing components refactored to the new system, or
new pages/features built entirely in the new style?
Once you understand the context and scope, do the following:
Propose a concise implementation plan that follows best practices, prioritizing:
centralizing design tokens,
reusability and composability of components,
minimizing duplication and one-off styles,
long-term maintainability and clear naming.
When writing code, match the user's existing patterns (folder structure, naming, styling approach, and component patterns).
Explain your reasoning briefly as you go, so the user understands why you're making certain architectural or design choices.
Always aim to:
Preserve or improve accessibility.
Maintain visual consistency with the provided design system.
Leave the codebase in a cleaner, more coherent state than you found it.
Ensure layouts are responsive and usable across devices.
Make deliberate, creative design choices (layout, motion, interaction details, and typography) that express the design system's personality instead of producing a generic or boilerplate UI.
# Design Style: Material You (Material Design 3)
Design Philosophy
Core Principles: Personal, adaptive, and spirited. Material You (MD3) represents a shift from Material Design 2's rigid "paper and ink" metaphor to a more organic, expressive system. The design extracts color palettes from seed colors (simulating the wallpaper-based personalization), emphasizes tonal surfaces over stark whites, and uses organic shapes with soft curves.
Vibe: Friendly, soft, rounded, colorful, and personal. The aesthetic feels modern yet approachable, with generous use of color through tonal surfaces rather than just accent highlights. Movement is smooth and confident, never jarring. Every interaction feels tactile and responsive, with micro-animations that provide satisfying feedback.
Enhanced Implementation Details:
This implementation goes beyond the baseline Material Design 3 specifications by incorporating:
Use Medium (500) as default for headings to maintain the friendly, approachable feel
Body text uses Regular (400)
Type Scale (Material Design 3 scale):
Display Large: 3.5rem / 56px (Hero headlines)
Headline Large: 3rem / 48px (Section titles)
Headline Medium: 2rem / 32px (Subsection titles)
Title Large: 1.5rem / 24px (Card titles)
Body Large: 1.25rem / 20px (Lead paragraphs)
Body Medium: 1rem / 16px (Standard body text)
Label Medium: 0.875rem / 14px (Button text)
Label Small: 0.75rem / 12px (Captions, metadata)
Letter Spacing:
Headings: Normal to tight (0 to -0.01em)
Body text: Normal (0)
Labels/buttons: Slightly wide (0.01em) for Medium weight at small sizes
Line Height:
Display/Headlines: 1.2 to 1.3 (tight for impact)
Body text: 1.5 to 1.6 (relaxed for readability)
Compact UI elements: 1.4
Radius & Borders
Material You uses organic, generous rounding to create a friendly aesthetic.
Radius Values:
Extra Small: 8px - Minimal UI elements, chips
Small: 12px - Small cards, compact elements
Medium: 16px - Default card radius
Large: 24px - Prominent cards, containers
Extra Large: 28px - Dialogs, sheets, large surfaces
Extra Extra Large: 32px to 48px - Hero sections, major containers
Full (Pills): 9999px or rounded-full - All buttons, chips, badges, FABs
When to Use Each:
Buttons, chips, badges: Always full (pill-shaped)
Standard cards: 24px (Large)
Feature cards, FAQ items: 24px (Large)
Hero containers, major sections: 48px (Extra Extra Large)
Nested content cards: 32px
Input fields: Top corners 12px, bottom corners 0px (Material 3 filled text field style)
Borders:
Use sparingly - tonal surfaces are preferred over borders
When needed, use #79747E (Outline) color
Thickness: 1px standard, 2px for focus states (bottom border on inputs)
On colored backgrounds, use white/10 or white/20 for subtle borders
Shadows & Effects
Material You uses elevation through subtle shadows combined with tonal surfaces, not dramatic drop shadows. This implementation enhances the baseline with progressive shadow transitions.
Shadow Philosophy:
Elevation 0 (Default): No shadow or shadow-sm - use tonal surface difference for depth
Elevation 1: shadow-sm - Subtle lift for cards at rest (default state for most cards)
Elevation 2: shadow-md - Hover state for interactive cards, default for important containers
Elevation 3: shadow-lg to shadow-xl - FABs, major sections, raised buttons on hover
Elevation 4+: Reserved for modals, dialogs (not common in base design)
Enhanced Shadow Patterns:
All interactive cards transition from shadow-sm to shadow-md on hover
Important sections (Benefits, Final CTA) start at shadow-lg
Combined with scale transforms (hover:scale-[1.02]) for depth enhancement
Shadow transitions use 300ms duration for smooth, confident movement