Material 3 for Compose
Every component, what each parameter does, and how the types connect.
For Compose Multiplatform org.jetbrains.compose.material3:material3:1.12.0-alpha03. Start with the guides if you are new.
Foundation
The building blocks: layouts, lists, images and plain text. They come from Compose Foundation and UI, work in any theme, and Material is built on them.
Layout
- Row and Column Place children next to each other, or one under the other.
- Box Stack children on top of each other.
- Spacer Empty space of a given size.
- Flow layouts A Row or Column that wraps to the next line when it is full.
- Grid A two-dimensional layout with rows and columns you define. Experimental.
- FlexBox A row or column whose children grow, shrink and wrap, like CSS Flexbox. Experimental.
- Custom layout Measure and place children yourself, when Row, Column and Box are not enough.
Lists and grids
- Lazy lists A scrolling list that only creates the items on screen.
- Lazy grids Scrolling grids that only create the items on screen.
- Pager Pages the user swipes through one at a time.
Text
- Basic text Text without Material styling. The base of Material's Text.
- Basic text field A text input without Material styling. For your own text field designs.
- Text selection Lets the user select and copy text.
Images and drawing
- Image Shows a picture: a bitmap, a vector or any painter.
- Canvas An area you draw on yourself: lines, circles, paths, text.
Windows
- Popup and Dialog Show content above everything else, as a popup or a dialog window.
Advanced
- SubcomposeLayout A layout that creates some children only after measuring others.
- LookaheadScope Lets layouts know where they will end up, to animate their size and position there.
- LazyLayout The base for writing your own lazy layout, like a custom lazy grid or a circle of items.
- BasicTooltipBox A tooltip without Material styling. The base of Material's TooltipBox.
Material components
The Material 3 and Expressive components, with pictures.
Basics

Text
Shows text in the theme's font and color.

Icon
Shows an icon in the color of the surrounding component.

Surface
A plain container with a color, shape, shadow and outline. Most components are built on it.

Divider
A thin line that separates content.

Small helpers
ProvideTextStyle, Scrim, VerticalDragHandle, Label and ScrollField.
Layout

Theme
Sets colors, fonts, shapes and motion for everything inside it.

Scaffold
The layout of a screen: top bar, bottom bar, FAB, snackbars and content.

List-detail layout
A list and the selected item. Side by side on wide windows, one at a time on phones.

Supporting pane layout
Main content with a side pane of related content on wide windows.
Actions

Button
A clickable container with a label. Five types, from filled to text-only.

Icon button
A button with only an icon. Four types.

Floating action button
The main action of a screen, as a floating icon button.

Toggle button
An Expressive button that stays on or off, and changes shape when on.

Icon toggle button
An icon button that stays on or off, like a "like" button.

Button group
An Expressive row of buttons that react to each other when pressed.

Split button
An Expressive button with a main action and a menu arrow.

FAB menu
An Expressive FAB that opens a short list of related actions.

Floating toolbar
An Expressive toolbar that floats over the content, with an optional FAB.

App bar row
A row of actions that moves extra actions into a menu.
Text input

Text field
Lets the user enter and edit text. Filled or outlined.

Search bar
A search field that opens a view with suggestions and results.
Selection

Checkbox
Selects one or more items from a list.

Switch
Turns one setting on or off.

Radio button
Selects one option from a set.

Chips
Small elements for actions, filters, entered items and suggestions.

Slider
Picks a value, or a range, by dragging along a track.

Menu
A list of choices that opens on top of the screen.

Exposed drop-down menu
A text field that opens a menu to pick a value.

Segmented button
A row of joined buttons to pick one or several options.

Date picker
A calendar to pick a date or a range of dates.

Time picker
A clock dial, or text fields, to pick a time.
Navigation

Top app bar
The bar at the top of a screen, with title, navigation and actions.

Navigation bar
The bar at the bottom of a phone screen, for switching between 3–5 main destinations.

Navigation rail
A narrow side bar for switching destinations on tablets and desktops.

Tabs
Switch between related views on the same screen.

Navigation drawer
A side panel with the app's destinations.

Bottom app bar
A bar at the bottom of the screen with actions and a FAB.

Short navigation bar
The Expressive navigation bar. Shorter, with icons beside labels on wide screens.

Wide navigation rail
The Expressive navigation rail. Expands into a wider panel with labels.
Containment

Card
A container for content about one subject. Three types.

List item
One row in a list, with text, an icon and a control.

Bottom sheet
A panel that slides up from the bottom of the screen.

Carousel
A scrolling row of items, usually images, that change size as they move.

Swipe to dismiss
Lets the user swipe an item away, showing an action behind it.
Communication

Dialog
Asks the user to confirm or decide something before going on.

Snackbar
A short message at the bottom of the screen, with an optional action.

Progress indicator
Shows how far a task is, or that something is loading.

Loading indicator
An Expressive shape that morphs while content loads.

Badge
A small dot or count on top of an icon.

Tooltip
A short label or explanation shown on hover or long press.

Pull to refresh
Reloads content when the user pulls down at the top of a list.