# Material Design 2 · Looks · tastebase

> Google's 2014-2020 system: paper surfaces at shadow elevations, a bold primary colour, Roboto, FABs and ink ripples.

Source: https://tastebase.ehsanulsiam.workers.dev/looks/material-design

## Try it

**Acme**PricingDocs

### Start your trial

Fourteen days free. No card needed.

Work email Yearly billing, save 20%

Ground

#fafafa

Surface

#ffffff

Text

#212121

Accent

#6200ee

**Type**
sans

**Radius**
4px

**Material**
box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)

This screen uses only the look's tokens. Click, type and toggle it. The libraries below are what your agent installs to build the real thing.

## What your agent builds it with

- Component kits[Material UI](https://tastebase.ehsanulsiam.workers.dev/browse/mui)Google's Material Design as an installable React kit, themed through Emotion, with MUI X grids and pickers beside it.a React app that should look like Google Material DesignMaterial 3 / Material You: Material UI still ships Material Design 2; use vuetify on Vue or konsta for mobile webElse [Vuetify](https://tastebase.ehsanulsiam.workers.dev/browse/vuetify)[Try it live](https://tastebase.ehsanulsiam.workers.dev/browse/mui)
- Primitives[React Aria Components](https://tastebase.ehsanulsiam.workers.dev/browse/react-aria)Adobe's unstyled React components with the deepest accessibility, i18n and touch handling.an app that must pass a formal accessibility audit (government, health, finance, enterprise procurement)a marketing landing page: the extra semantics buy nothing, use shadcn-ui with magic-uiElse [Radix Primitives](https://tastebase.ehsanulsiam.workers.dev/browse/radix-ui)[Try it live](https://tastebase.ehsanulsiam.workers.dev/browse/react-aria)
- Feedback[Sonner](https://tastebase.ehsanulsiam.workers.dev/browse/sonner)Opinionated toast component with stacking, swipe to dismiss and promise toasts; ports for Vue, Svelte, Solid and Angular.confirming a background action finished away from where it started (Saved, Invite sent)form validation errors: show them inline next to the field[Try it live](https://tastebase.ehsanulsiam.workers.dev/browse/sonner)
- Command menus[cmdk](https://tastebase.ehsanulsiam.workers.dev/browse/cmdk)Fast, unstyled React command menu with built-in fuzzy filtering.a Cmd+K palette in a SaaS app: jump to page, run action, switch workspaceyou want nested scopes, breadcrumbs and tuned motion out of the box: use kobra's command-menuPairs with [Radix Primitives](https://tastebase.ehsanulsiam.workers.dev/browse/radix-ui)[Try it live](https://tastebase.ehsanulsiam.workers.dev/browse/cmdk)
- Icons[Material Symbols](https://tastebase.ehsanulsiam.workers.dev/browse/material-symbols)Google's Material icons as variable fonts (Outlined, Rounded, Sharp) with fill, weight, grade and optical-size axes.a Material Design or Material 3 (Material You) app: the icon set Google's own components usea shadcn/ui, Apple-like or neutral product: Material glyphs read as Google, use lucideElse [Lucide](https://tastebase.ehsanulsiam.workers.dev/browse/lucide)[Try it live](https://tastebase.ehsanulsiam.workers.dev/browse/material-symbols)
- Charts[Recharts](https://tastebase.ehsanulsiam.workers.dev/browse/recharts)Composable SVG charts for React; the engine behind shadcn/ui charts.standard line, area, bar and pie charts in a React dashboardmore than ~5,000 points or real-time streams: SVG slows down, use uplot or echartsElse [visx](https://tastebase.ehsanulsiam.workers.dev/browse/visx)[Try it live](https://tastebase.ehsanulsiam.workers.dev/browse/recharts)
- Tables[TanStack Table](https://tastebase.ehsanulsiam.workers.dev/browse/tanstack-table)Headless table logic: sorting, filtering, pagination, selection and grouping, rendered with your own markup.a sortable, filterable data table styled by your own kit (shadcn-ui's Data Table is built on it)a spreadsheet-like grid with cell editing and keyboard navigation out of the box: use ag-gridElse [AG Grid](https://tastebase.ehsanulsiam.workers.dev/browse/ag-grid)[Try it live](https://tastebase.ehsanulsiam.workers.dev/browse/tanstack-table)
- Editors[Tiptap](https://tastebase.ehsanulsiam.workers.dev/browse/tiptap)Headless rich-text editor framework on ProseMirror, with 100+ MIT extensions.a rich text editor for comments, posts or descriptions with bold, lists, links and mentionsa flowchart or node editor: use xyflow[Try it live](https://tastebase.ehsanulsiam.workers.dev/browse/tiptap)

## The plan your agent reads

**For “landing page with a signup form, a pricing table and toasts” in Material Design 2: the `plan` tool's answer, word for word**

```
look: Material Design 2 (material-design, corporate family)
framework: react (assumed; pass framework)
build with every line below: run its install, build its part with it (usage under it), then adapt it to the rules below. A hand-written stand-in for a listed part (a <details> for an Accordion) is a miss
component-kit (its parts for this page) -> mui: Google's Material Design as an installable React kit, themed through Emotion, with MUI X grids and pickers beside it. (look's own kit) | npm i @mui/material @emotion/react @emotion/styled | use its Button, Card, Badge, Table, Text Field | else: mantine, boardui
feedback (toasts) -> sonner: progress of an async task the user can walk away from (toast.promise) | npm i sonner | else: skullet, shadcn-ui
  import { Toaster, toast } from 'sonner'
  <Toaster position="bottom-right" />
  <button onClick={() => toast('Invite sent', { action: { label: 'Undo', onClick: undoInvite } })}>Invite</button>
icons (every icon on the page: one size and stroke, set once) -> material-symbols: Google's Material icons as variable fonts (Outlined, Rounded, Sharp) with fill, weight, grade and optical-size axes. (look's pick) | npm i material-symbols | else: lucide
  import 'material-symbols/rounded.css'
  <span className="material-symbols-rounded" aria-hidden="true">home</span>
  /* selected */
  .active .material-symbols-rounded { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
done when: every package above is imported where its part is, and no listed part is hand-written

vs: Not material-you: a fixed brand palette, 4px corners and shadows, not dynamic tonal colour and pill shapes. Not flat-design: elevation and shadow carry hierarchy. Not corporate: a named system with its own components and motion.
type: Roboto (or the brand face) on the Material 2 scale: H1 96 light, H4 34, H6 20 medium, body 16 and 14, buttons 14 medium uppercase with 1.25px tracking, captions 12. 8dp grid with 16px mobile and 24px desktop margins. Icons from Material Symbols (via iconify's material-symbols set).
colour: One primary and one secondary with light and dark variants (baseline #6200ee and #03dac6), white surfaces on #fafafa, text at 87%, 60% and 38% black for high, medium and disabled. Elevation by shadow: cards 1-2dp, app bar 4dp, FAB 6dp, dialogs 24dp.
motion: Standard curve cubic-bezier(.4,0,.2,1): 150-200ms for small components, 250-300ms for screens; ripple from the touch point on press; container transform from a card into its detail view.
avoid: every surface at the same elevation; uppercase anywhere but buttons and overlines; Material You pill shapes mixed with 4px corners; ripples on things you cannot press; more than one FAB per screen
refs: name a real one first: the user's, else search Mobbin, Refero or Inspo (free) if connected, else Material Design 2 m2.material.io, MUI mui.com or a DESIGN.md from styles.refero.design or devault.design, and say how to connect one (get references)
brief first: build every part it names before styling; the first screen shows the main content working, not an empty hero; at desktop width fill it (columns, a side panel), never a phone-width column in empty space
never, whatever the look: text under 4.5:1 contrast (on glass, over its lightest backdrop); a headline clipped or split mid-word at 390px; a font named, not loaded
```

## Rules

**Type**
Roboto (or the brand face) on the Material 2 scale: H1 96 light, H4 34, H6 20 medium, body 16 and 14, buttons 14 medium uppercase with 1.25px tracking, captions 12. 8dp grid with 16px mobile and 24px desktop margins. Icons from Material Symbols (via iconify's material-symbols set).

**Colour**
One primary and one secondary with light and dark variants (baseline #6200ee and #03dac6), white surfaces on #fafafa, text at 87%, 60% and 38% black for high, medium and disabled. Elevation by shadow: cards 1-2dp, app bar 4dp, FAB 6dp, dialogs 24dp.

**Motion**
Standard curve cubic-bezier(.4,0,.2,1): 150-200ms for small components, 250-300ms for screens; ripple from the touch point on press; container transform from a card into its detail view.

Goes wrong when

- every surface at the same elevation
- uppercase anywhere but buttons and overlines
- Material You pill shapes mixed with 4px corners
- ripples on things you cannot press
- more than one FAB per screen

## Not to be confused with

- [Search mailM✓ AllUnreadStarredAYour look is readyMaterial YouLSeed colour pickedTonal paletteComposeHomeSearchSavedMaterial Youa fixed brand palette, 4px corners and shadows, not dynamic tonal colour and pill shapes.](https://tastebase.ehsanulsiam.workers.dev/looks/material-you)
- [Start3Mail14CalendarPhotosMusic21°WeatherStoreFlat designelevation and shadow carry hierarchy.](https://tastebase.ehsanulsiam.workers.dev/looks/flat-design)
- [Search librariesAdd libraryLibraryKindStatusTTanStack TabletablesInstalledRRechartschartsInstalledccmdkcommandIn reviewSSonnerfeedbackInstalledRRadix PrimitivesprimitivesInstalledCorporate / dashboarda named system with its own components and motion.](https://tastebase.ehsanulsiam.workers.dev/looks/corporate)

## Also in Corporate / dashboard

- [Search librariesAdd libraryLibraryKindStatusTTanStack TabletablesInstalledRRechartschartsInstalledccmdkcommandIn reviewSSonnerfeedbackInstalledRRadix PrimitivesprimitivesInstalledCorporate / dashboard](https://tastebase.ehsanulsiam.workers.dev/looks/corporate)
- [ChatNew chatAFAda FischerSounds good, ship itDcDesign critKim: Fluent tokens are inLPLin ParkSee you at 3Can you review the flyout?On it, sending notes nowReplyCtrl+RForwardCtrl+FPinDeleteDelFluent](https://tastebase.ehsanulsiam.workers.dev/looks/fluent)
- [Available balance$24,812.40SendRequestPPayrollToday+$8,200.00AAWSYesterday−$1,204.18TTransfer to SavingsJul 30−$2,000.00CCard refundJul 29+$64.20Fintech](https://tastebase.ehsanulsiam.workers.dev/looks/fintech)
- [Your results · Updated todayCholesterolA little high5.6 mmol/LHealthyBorderlineHighSlightly above the healthy range. Your doctor will talk it through.Book a follow-upBlood pressureHealthyHealthcare](https://tastebase.ehsanulsiam.workers.dev/looks/healthcare)
- [Apply for a permitSign out‹ BackStep 2 of 4What is your postcode?For example, SW1A 2AASW1AContinueCivic / public service](https://tastebase.ehsanulsiam.workers.dev/looks/civic)

## Brief words that land here

material design · material ui · material 2 · md2 · google material · floating action button

[Material Design 2](https://m2.material.io)[MUI](https://mui.com)
