material-design-3-components

Provides specifications and CSS implementations for Material Design 3 UI components.

Updated Sep 5, 2026
One-click install
npx skills add https://github.com/pohlai88/afenda-xforge-v5 --skill material-design-3-components-pohlai88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: material-design-3-components
Source: https://github.com/pohlai88/afenda-xforge-v5/tree/main/.agents/skills/material-design-3-components
Command: npx skills add https://github.com/pohlai88/afenda-xforge-v5 --skill material-design-3-components-pohlai88

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Building UI components that conform to Material Design 3 requires knowing exact specifications for color tokens, shape, typography, elevation, and interaction states across dozens of components, which is tedious to look up and easy to get wrong. ## Core Features & Use Cases - Complete M3 Component Reference: Covers all six M3 categories — action, containment, communication, navigation, selection, and text input — with dimensions, variants, and CSS implementations using M3 design tokens. - M3 Expressive Coverage: Includes newer additions such as FAB menus, split buttons, button groups, and docked or floating toolbars, plus notes on deprecated patterns like segmented buttons. - Token and Accessibility Guidance: Ships a component-tokens reference for @material/web CSS custom properties, interaction state layer values, and an implementation checklist covering touch targets, contrast, and ARIA attributes. - Use Case: When building a settings screen, use this Skill to implement switches, list items, and a top app bar with correct M3 tokens, state layers, and 48dp touch targets instead of guessing values from the spec site. ## Quick Start Use the material-design-3-components skill to implement an M3-compliant filled button and outlined card with correct color tokens and interaction states.

Frequently Asked Questions about material-design-3-components

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

FAQPage Schema
How do I implement Material Design 3 buttons in CSS?

M3 defines five button types — text, outlined, tonal, filled, and elevated — each 40dp tall with full pill shape and 24dp horizontal padding. Style them with M3 tokens such as --md-sys-color-primary for filled buttons and --md-sys-color-outline for outlined borders.

What are the Material Design 3 component categories?

M3 organizes components into six categories: action (buttons, FABs), containment (cards, sheets, lists), communication (badges, dialogs, snackbars), navigation (app bars, tabs, navigation bar), selection (chips, switches, sliders), and text input (filled and outlined text fields).

How do I customize @material/web component tokens?

Override component-level CSS custom properties using prefixes like --md-filled-button-container-color or --md-comp-dialog-*. The included component-tokens reference lists every prefix for buttons, cards, chips, menus, tabs, and other @material/web components.

What changed in M3 Expressive compared to baseline Material You?

M3 Expressive adds FAB menus, split buttons, button groups, and docked or floating toolbars while deprecating segmented buttons and bottom app bars. Existing components keep the same token-based color, shape, and typography system.

What accessibility requirements do M3 components have?

M3 components require 48x48dp minimum touch targets, visible focus indicators, 4.5:1 text contrast and 3:1 contrast for interactive elements, correct ARIA roles and states, and full keyboard operability. Disabled states use 38% content opacity and 12% background opacity.

Does this skill include framework-specific implementations like React or Angular?

No, it provides framework-agnostic CSS and token specifications. For framework-specific usage it points to separate library skills covering React/MUI, Angular Material, Vue/Vuetify, Svelte, web components, Tailwind, Flutter, and Jetpack Compose.