agentleFS
abhixvabhixv/m3-expressive-design-skill/skills/m3-expressive/SKILL.md

m3-expressive

Skill29 starsChanged 39 days agoMITView on GitHub

Use when designing or implementing UI with Material Design 3 or M3 Expressive — Material components, motion springs, shape morphing, emphasized typography, color roles, adaptive layouts. Also for Material You, Jetpack Compose / MDC-Android / Flutter / web Material UI, making a UI feel "expressive", or reviewing a design against M3 guidelines.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 1

    1. abhixv/google-m3-expressive-design-skill★ 25100% same

    Edited · 0

    None found.

    Wrote their own version · 1

    1. mindcrafter129/m3e-skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a value you need is genuinely not in M3, write it as two labelled parts:

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Material 3 Expressive

M3 Expressive is an evolution of Material 3, not a new version — M3 is not deprecated and this isn't "M4". It adds features, updated components, and design tactics for emotionally impactful UX. The Usability guidelines name its design tactics as containment, size, shape, color, and typography — a non-exhaustive list; the blog's seven tactics also cover motion and component flexibility.

Backed by Material's most-researched update since 2014 (46 studies, 18,000+ participants). The headline finding is that this is a usability mechanism, not a decorative one: participants spotted key UI elements up to 4× faster in expressive screens. So every expressive choice must answer one question — does this guide attention to what matters on this screen? If not, it's noise.

Source contract — read this before writing any spec

M3 has exact published values. Stating a plausible-sounding number instead of the real one is the main way this work goes wrong, and it is invisible to the reader.

Every number, token name, and component name you state comes from this skill's references. Look it up. tokens.md has the numeric bedrock; components/*.md has per-component placement and behavior; component-tokens.md has the per-component dp geometry — including the measurements m3.material.io publishes only inside images, so check there before concluding a value is unavailable.

When a value you need is genuinely not in M3, write it as two labelled parts:

From M3: button label uses label large (14sp / 20sp / 0.1sp tracking, Medium). My design decision (not in M3): 12dp gap between the two action buttons.

That split is the deliverable's shape. It costs one clause and it is the difference between a spec someone can build from and a spec that quietly invents a design system.

M3 publishes no stagger values, no per-component choreography timings, and no reduce-motion scheme-swap rule. Those are always your design decisions.

Quick reference

DecisionAnswer
Motion schemeExpressive for most products, hero moments, key interactions. Standard only for utilitarian products.
Spring typeMoves/rotates/resizes/re-corners → spatial (bounces). Color/opacity → effects (never overshoots).
Spring speedDefault for most. Fast = small components. Slow = full-screen.
Corner radius10-step scale: 0 / 4 / 8 / 12 / 16 / 20 / 28 / 32 / 48 / full. Bold = new in Expressive.
Nested radiiinner = outer − padding. Never reuse the parent's radius.
Emphasized typeSwap md.sys.typescale.X → md.sys.typescale.emphasized.X. Same size, heavier weight. Not on by default.
Where emphasized goesSelection, actions, headlines, editorial. Badges, primary buttons, extended FAB, selected list/menu items.
Accent rolePrimary = most important. Secondary = no immediate attention. Tertiary = small elements needing special emphasis.
Region colorsBody = surface. Navigation = surface container. Same roles at every breakpoint.
Text coloron surface (or on surface variant). Links = primary, underlined.
Contrast3:1 large text, 4.5:1 small text. Roles guarantee 3:1 pairs.
Abstract shapesDecorative and image elements only. Never on text-heavy containers. Use sparingly.
Hero momentsOne or two per product. More is overwhelming.

The seven expressive tactics

Each is one axis you can push. Depth and failure modes in references/expressive-tactics.md.

  1. Use a variety of shapes — mix round and square for tension; break the surrounding shape style to draw attention. Small shapes make essential actions look unimportant.
  2. Apply rich and nuanced colors — mix primary/secondary/tertiary on key elements; build hierarchy with surface tones. Without contrast, everything blends.
  3. Guide attention with typography — emphasized styles, heavier weights, larger sizes, spacing.
  4. Contain content for emphasis — group into containers; give the most important content ample space and the brightest surface.
  5. Add fluid and natural motion — shape morph, surface effects, expressive springs.
  6. Leverage component flexibility — shift components by context; adapt to foldables and large screens via canonical layouts.
  7. Combine tactics for hero moments — brief, surprising, and rare.

Where to look

NeedFile
Any exact number — type scale, radii, springs, elevation, contrastreferences/tokens.md
Per-component dp — container heights/widths, icon sizes, internal spacing, shape + elevation assignmentsreferences/component-tokens.md
The tactics in depth, research findings, what shippedreferences/expressive-tactics.md
Motion schemes, spatial vs effects, customization levelsreferences/motion.md
35 shapes, morphing, tension, optical roundness, cut cornersreferences/shape.md
Roles, baseline/emphasized, editorial treatments, variable axesreferences/typography.md
Color roles, pairing rules, contrast levels, do/don'treferences/color.md
Baseline scheme, static vs dynamic, harmonization, advanced customizationreferences/color-schemes.md
Transition patterns, direction rules, legacy easing + duration tokensreferences/transitions.md
Buttons, toggle, icon, split, segmented, button groupsreferences/components/buttons.md
FAB, extended FAB, FAB menureferences/components/fabs.md
Navigation bar / rail / drawer, tabsreferences/components/navigation.md
App bars, toolbarsreferences/components/bars.md
Cards, carousel, lists, dividers, sheets, dialogsreferences/components/containment.md
Checkbox, radio, switch, slider, chips, text fields, searchreferences/components/input.md
Badges, progress, loading indicator, snackbar, tooltip, menus, pickersreferences/components/feedback.md
Breakpoints (formerly window size classes), canonical layouts, scaffold, grids, RTLreferences/layout.md
States, gestures, inputs, selection, usability, accessibilityreferences/interaction.md
Elevation, spacing, icons, design tokens, customizationreferences/foundations.md
Compose / Views / Flutter / web availability, APIs, migrationreferences/platforms.md
2,587 official images — anatomy, measurements, do/don't, full-UI screensreferences/visuals.md

To re-scrape m3.material.io when Material ships an update: node scripts/refresh-m3.js pages <dir> and … images <dir>. The site is an Angular SPA — fetching a guideline URL directly returns an empty shell, so don't try; the script's header explains the real content path and where the numeric token values come from.

Component references carry the discriminating rule ("use this instead of its sibling when…"), anatomy, every size variant with dp values, placement and spacing, states, color and type role mapping, and do/don't rules. Read the relevant one before speccing a component — the sibling-choice rules are the part that is hardest to guess and easiest to get wrong.

Common mistakes

MistakeCorrect
Bouncy fade or color changeOpacity and color take effects springs — damping 1.0, no overshoot, in both schemes.
Hand-authored durations for expressive motionUse spring tokens. Web: convert via the table in tokens.md.
Same corner radius on a container and its childinner = outer − padding.
Large or full corners on information-dense components like cardsThey clip content. Use a smaller step.
Abstract library shapes on text containersDecorative and image elements only.
Emphasized type used as the whole scaleBaseline and emphasized are used together; emphasized marks the exception.
outline on dividers, or on multi-element components like cardsUse outline variant.
outline variant to define a target's boundaryUse outline, or a color with 3:1 against surface.
container roles on text or iconsContainers are fills only. Use the paired on * role.
Fixed accent colors where contrast mattersThey don't adapt to theme. Use primary/secondary/tertiary.
Surface color derived from elevationM3 surfaces are tone-based; the +1…+5 overlay model is gone.
Different region colors on tablet vs phoneRegion role mappings stay constant across breakpoints.
Hero moments on every screenOne or two per product.
Promising a feature on the user's platformAvailability is uneven — check platforms.md. Compose M3 Expressive APIs are still experimental until Compose 1.5.0; MDC-Android and web are in maintenance mode.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.