/android-design:android-designfrom android-design
Provides Material 3 Expressive design judgment for Android apps in Jetpack Compose. Guides theming, component selection, motion, and screen adaptation across phone, foldable, tablet, desktop, and Wear OS.
Ships in android-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Material 3 Expressive design decisions for Jetpack Compose.
Three ideas govern every screen. Emphasis budget: rank what the screen is for, then spend scale, fill, color contrast, shape, type, containment, and motion on the primary goal, less on secondary goals, and almost none on the rest (uniform emphasis creates a template). Role pairs: color strictly through X / onX pairs (and onSurfaceVariant for lower emphasis), keeping raw hex literals and .copy(alpha = ...) out of screen code. Reveal, not stretch: larger windows reveal a second pane, expanded rail, or more detail instead of stretching phone UI wider.
Rules marked (default) can bend when the direction justifies it; all other rules hold.
Surfaces. Phone, tablet, desktop, and Wear OS app screens. For Wear OS, read references/wear-os.md first (it overrides this file where they differ); use wear-compose-m3 for scaffolding and migration. Wear tiles, watch faces, and home screen widgets belong to wear-widgets and Glance skills.
Start with an exploration when the request asks for the design of a new app, new screen, or redesign (polish, visual direction, Material 3 Expressive, or naming this skill): follow android-design-explore, verify and show its live board via android-design-preview, and wait for approval before wiring Compose into the app. Skip exploration only if the user explicitly asks to skip it or an approved exploration already exists (port it via android-design-explore).
Plain builds without design questions, and changes inside an existing design (fixes, tweaks, reviews, new states of an approved screen), go straight to code through the design questions and screen check. UI Builder requests follow compose-ui-builder while this skill owns design decisions.
Answer all seven in your reply before writing code (1 to 2 sentences each):
Components come last; compose from direction and content first:
For shipped examples (metric card, editorial header, pill hero control), read references/components.md after choosing the composition.
For an exploration, run android-design-explore's Check step instead of rendering here.
Visual gate: judge the rendered screen, not the code. Render via compose-preview (or compose-ui-builder for UI Builder outputs). If rendering is unavailable or fails, report "visual quality unverified" and tell the user how to configure compose-preview (or android-design-explore's references/setup.md for explorations) instead of guessing from code. Verify every item:
Fix the largest mismatch and re-capture; for stateful screens, also capture the alternate state that changes emphasis or layout. Stop after two fix rounds and report what remains.
Code gate (every item checked; for Wear OS screens, apply references/wear-os.md overrides for theme, Roboto Flex, and Wear components):
MaterialExpressiveTheme with chosen color source, Google Sans Flex for plain text, and at most one bundled brand face on Display, Headline, and Title Large..copy(alpha = ...).MaterialTheme.motionScheme instead of tween().TextFieldState (rememberTextFieldState()) with SecureTextField / OutlinedSecureTextField for passwords, and search bars back SearchBarDefaults.InputField with TextFieldState.AnimatedVisibility, AnimatedContent, or conditional composition (never alpha = 0f alone); text over blurred images sits on a scrim, gradient, or solid/tonal surface.Wrap the app in MaterialExpressiveTheme with MotionScheme.expressive(), the chosen color scheme, and the type scale from Typography. Requires androidx.compose.material3:material3 1.5.0 or later (Compose BOM 2026.11.01). Read references/theming.md for theme code, toolchain requirements, opt-in APIs, seed schemes, type voices, shape morphing, and motion specs; read references/blur.md for blur, shadows, and gradients.
Worked example across four screens: references/components.md.
primary for the main action, secondary / secondaryContainer for supporting controls, and tertiary for status or accents.Hero moments layer expressive tactics (type, shape, color, motion, flexible components) on the product's one or two most emotional, central interactions (player, dialer, completed goal, breathing session). Keep secondary screens calmer.
Read references/theming.md for scheme generation and code; read extra colors when using 3+ categories or charts/data graphics.
TonalSpot (keep PaletteStyle.Expressive out, since it shifts hues away from the brand); Content-based from a visible on-screen image (cap a screen at two color sources); expressiveLightColorScheme() only as the light fallback.surface, surfaceContainer (navigation), and surfaceContainerLowest to Highest (brightest on the most important container). Reserve accent containers for elements with a job.onX on X; onSurface, onSurfaceVariant, and primary on surfaces; inverseOnSurface and inversePrimary on inverseSurface (one standout element such as a snackbar or key total). Use outlineVariant for dividers, outline for text field borders, and onSurfaceVariant for quieter emphasis. Keep semantic error/success colors consistent app-wide.primaryContainer, secondaryContainer, tertiaryContainer, or inverse) for key elements with distinct jobs while everything else stays on surfaces.Read references/theming.md for Google Sans Flex axes, bundled brand faces, the voice builder, and editorial techniques.
displayLargeEmphasized through labelSmallEmphasized) for primary button labels, selected/unread items, key numbers, and headlines. Give Display/Headline a real voice (matching opsz to text size) and reuse two or three named voices per app; keep Body and Label on default axes. Preserve scale sizes when swapping faces.Fraunces, Bricolage Grotesque, Big Shoulders Display, or Doto at Display only) for Display, Headline, and titleLarge (small app bars and side sheets use titleLarge). Use Google Sans Code for numbers and data at any size.fontFeatureSettings = "tnum" for changing numbers; sentence case everywhere.Read references/theming.md and shape library for tokens, MaterialShapes, and morphing code.
shapes parameters so buttons, toggles, and list items morph on press and selection.MaterialShapes): 35 shapes for avatars, image masks, decorative graphics, achievements, and hero buttons; keep text-heavy containers on standard rounded corners.Read references/theming.md for spring values, API selection, and ReducedMotionScheme.
MotionScheme: use MaterialTheme.motionScheme instead of tween(). Spatial specs (position, size, rotation, corners) overshoot and settle; Effects specs (color, opacity) never overshoot. Speeds: fast (small controls), default (sheets, rails, partial screen), slow (full screen). Default to MotionScheme.expressive(); use MotionScheme.standard() for utilitarian products.Read references/layout.md for breakpoints, tall medium windows, canonical layouts, posture handling, and desktop mouse/keyboard rules.
4, 8, 12, 16, 24, 32, 48dp. Put padding and gaps on parents; use 16dp side margins on compact and 24dp on medium and up. Negative space around the lead adds emphasis.Read references/components.md when choosing, writing, or customizing components.
| Instead of | Use | Compose |
|---|---|---|
| Medium/large top app bar | Flexible app bar (shorter, bigger title, subtitle) | MediumFlexibleTopAppBar, LargeFlexibleTopAppBar |
| Bottom app bar | Floating or docked toolbar | HorizontalFloatingToolbar (FAB overload), FlexibleBottomAppBar |
| Segmented buttons | Connected button group | Row of ToggleButton with ButtonGroupDefaults.connected*ButtonShapes() |
| Navigation drawer | Expanded navigation rail | WideNavigationRail, ModalWideNavigationRail |
NavigationBar | Flexible navigation bar | ShortNavigationBar + ShortNavigationBarItem |
| Small FAB, speed dial | Medium/large FAB, FAB menu | MediumFloatingActionButton, FloatingActionButtonMenu |
| Spinner for short waits | Loading indicator (200ms to 5s) | LoadingIndicator, ContainedLoadingIndicator |
| Plain progress bar | Wavy progress where expressiveness fits (default strokes) | LinearWavyProgressIndicator, CircularWavyProgressIndicator |
ListItem(headlineContent=) with dividers | Segmented expressive list | SegmentedListItem spaced by ListItemDefaults.SegmentedGap |
| Flat dropdown menu | Grouped vertical menu | DropdownMenuPopup + DropdownMenuGroup |
| One-size buttons | Sized, morphing buttons (XS 32 to XL 136dp) | Button(shapes = ButtonDefaults.shapesFor(height)) |
Modifier.semantics { heading() }. Toggle/select rows carry row-level toggleable or selectable with a role (or SegmentedListItem's checked / selected overloads, or switch semantics per components.md, Lists) and pass null as the child Checkbox/Switch/RadioButton callback. Rely on built-in merging on clickables, buttons, and ListItem. Hide decorative or repeated text via hideFromAccessibility(); use clearAndSetSemantics only when merging cannot describe the control; add semantics manually to custom Canvas controls.| Avoid (iOS habit) | Use (Android) |
|---|---|
| Centered navigation title by habit | Start-aligned title by default (center only when composition calls for it); flexible app bars collapse on scroll |
| Back chevron; "Cancel" and "Done" text in top bar | Up arrow for hierarchy (system back handles back); close icon for full-screen modals with confirm action in app bar; dialogs keep labeled text buttons |
| Action sheets | Bottom sheets |
| Segmented control | Tabs for peer destinations; connected button group for options/view modes within one screen |
| Table rows with disclosure chevrons and hairline dividers | List items without chevrons, grouped with gaps (Spacing and layout) |
| SF Symbols | Material Symbols, one style (outlined, rounded, or sharp) app-wide |
edge-to-edge skill).references/android-conventions.md (opens in a new tab)references/blur.md (opens in a new tab)references/component-snippets.md (opens in a new tab)references/components.md (opens in a new tab)references/layout.md (opens in a new tab)references/theming.md (opens in a new tab)references/wear-os.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
material-3, jetpack-compose, android-ui, design-system, wear-os
2 skills in this plugin
npx claudepluginhub charliesbot/android-design --plugin android-designOther plugins' skills for the same job