Skip to main content

Components

Every component takes its look from the active skin and theme: you choose what it is (an appearance, a tone, a size) and never a color. Switch the language above to see Kotlin or Dart.

  • Primitives: Text, icons, surfaces, dividers, scrollbars and speed search: the pieces everything else is built from.
  • Actions: Buttons and the controls that start something.
  • Inputs and forms: Fields, choices, pickers and forms.
  • Containers and lists: Cards, list rows, paged lists, accordions, split panes and dock layouts.
  • Data display: Chips, badges, avatars, images, ratings, carousels, tables and trees.
  • Feedback: Progress, snackbars, banners, skeletons and step indicators.
  • Overlays: Dialogs, sheets, menus, tooltips, popovers and the command palette.
  • Navigation: Top bars, tabs, document tabs, navigation bars, rails and drawers, pagination and breadcrumbs.
  • Charts: Line, bar, pie and sparkline charts, without a chart library.

Conventions​

  • appearance is the visual weight: solid, soft, raised, outline, ghost, link. null uses the theme's default.
  • tone is the color family: default, error, success, warning, info.
  • Disabled is enabled = false (Kotlin) or a null callback (Dart).
  • Every control needs a name for screen readers: a visible label, or an onClickLabel/semanticLabel for icon-only controls. A missing name fails in debug builds.
  • Touch targets are at least 48 dp; text scales with the system font size; layouts mirror in right-to-left.