Component gallery
All components
52 components across 11 groups — each with 82 copy-paste Kotlin examples in total.
No components match . Try a different term.
Actions
Buttons, FABs, and other ways to trigger an action
Communication
Badges, progress, snackbars, and dialogs
Badge Dot, count, and overflow badges anchored to an icon 2 examples
Progress Indicators Indeterminate and determinate circular & linear progress 2 examples
Snackbar Brief, transient messages with an optional action 2 examples
Dialog AlertDialog confirmations and fully custom dialogs 2 examples
Tooltip Plain tooltips anchored to an interactive element 1 example Containment
Cards, lists, sheets, and dividers that hold content
Selection & Inputs
Checkboxes, switches, sliders, chips, and pickers
Checkbox Single, grouped, and tri-state parent checkboxes 1 example
Switch Toggle a single setting on or off 1 example
Radio Button Pick exactly one option from a set 1 example
Slider Continuous, stepped, and range sliders 3 examples
Chip Assist, filter, input, and suggestion chips 4 examples
Segmented Button Single- and multi-choice segmented selection 2 examples
Date & Time Pickers Inline date picker, date dialog, and time picker 3 examples Text & Fields
Typography and text entry
Layout
Row, Column, Box, and arrangement primitives
Lists & Grids
Lazy lists, grids, and pagers
Lazy Column Vertically scrolling list that composes items on demand 1 example
Lazy Row Horizontally scrolling list of fixed-size cards 1 example
Lazy Grid Two-dimensional grid with a fixed column count 1 example
Staggered Grid Masonry-style grid where items have varying heights 1 example
Pager Swipeable pages with a state-driven page count 1 example Animation
State, visibility, content, and transitions
animate*AsState Animate a single value whenever its target changes 1 example
AnimatedVisibility Animate content as it enters and leaves composition 1 example
AnimatedContent Animate the swap between two content states 1 example
Crossfade Cross-fade between mutually exclusive screens 1 example
InfiniteTransition Loop an animation indefinitely 1 example Gestures & Scroll
Click, drag, swipe, and scroll handling
Clickable Modifier.clickable and combinedClickable for taps and long presses 1 example
Draggable Drag a box along one axis with rememberDraggableState 1 example
Transformable Pan, zoom, and rotate with rememberTransformableState 1 example
Scroll Modifier.verticalScroll over a fixed-height Column 1 example
Swipe to Dismiss Swipe list items away with SwipeToDismissBox 1 example
Pull to Refresh Pull down to trigger a refresh with PullToRefreshBox 1 example Graphics & Drawing
Canvas, brushes, shapes, and clipping