material-design-3-shape

Define and apply Material Design 3 shape tokens and morphing transitions to UI components.

Updated Nov 24, 2021
One-click install
npx skills add https://github.com/ishiyan/Mbng --skill material-design-3-shape-ishiyan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: material-design-3-shape
Source: https://github.com/ishiyan/Mbng/tree/main/.opencode/skills/material-design-3-shape
Command: npx skills add https://github.com/ishiyan/Mbng --skill material-design-3-shape-ishiyan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Establishes a cohesive, scalable shape language for UI components by applying Material Design 3 expressive shapes, ensuring consistent aesthetics and usability across products.

Core Features & Use Cases

  • Shape tokens: semantic radii and component-specific shapes defined for buttons, cards, dialogs, sheets, inputs, and chips.
  • Expressive shapes library: a catalog of 35 shapes that can morph to convey state and hierarchy.
  • Containment & responsiveness: guidelines for containment levels, responsive adjustments, and smooth morphing transitions to enhance feedback.
  • Use Cases: apply to design systems, component libraries, and design-to-code handoffs to maintain brand-aligned, accessible UIs.

Quick Start

Apply the M3 shape tokens to your component library and start morphing a sample card from medium to extra-large radius to observe the effect.

Frequently Asked Questions about material-design-3-shape

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply Material Design 3 shape tokens to my UI components?

Material Design 3 expressive shapes use a token system defining semantic radii and a catalog of 35 shapes. These shapes morph to convey state and hierarchy, establishing cohesive aesthetics and usability across UI components.

How do I implement morphing transitions for Material Design 3 shapes?

Implement shape morphing by applying the M3 shape token system to transition a component, such as a card, between different radii scales like medium and extra-large. This provides smooth visual feedback and enhances state communication.

What are Material Design 3 containment rules for responsive UI surfaces?

Material Design 3 containment rules provide guidelines for containment levels, responsive adjustments, and smooth morphing transitions. Applying these rules to UI surfaces ensures proper visual hierarchy and accessible interactions across different screen sizes.

Can I use Material Design 3 expressive shapes in a design-to-code handoff?

Yes, you can use Material Design 3 expressive shapes in design-to-code handoffs. Applying the M3 shape token system to design systems and component libraries maintains brand-aligned, accessible UIs with consistent radii and morphing behaviors.

Do I need specific dependencies to use Material Design 3 shape tokens?

No specific dependencies are required to use Material Design 3 shape tokens. You can apply the semantic radii scale, expressive shapes library, and morphing transitions directly to your design systems and component libraries without external tools.