Composables
Components Unstyled Icons API
Join Radar
Join Radar Components Unstyled Icons API UI Kit UI Blocks SVG to Compose Android Distribution Community Docs Blog Colors
Components
  • Button
  • Card
  • GlimmerTheme
  • Icon
  • IconButton
  • ListItem
  • Text
  • TitleChip
  • VerticalList
  • VerticalStack
Composable Functions
  • rememberListState
  • rememberStackState
  • surface
Modifiers
  • contentColorProvider
  • depthEffect
  • onIndirectPointerGesture
  • surface
Classes
  • ButtonSize
  • Colors
  • ComponentSpacingValues
  • DepthEffect
  • DepthEffectLevels
  • GlimmerTheme
  • IconSizes
  • ListScopeMarker
  • ListState
  • Shapes
  • StackState
  • SurfaceDepthEffect
  • Typography
Objects
  • ButtonDefaults
  • CardDefaults
  • ListItemDefaults
  • SurfaceDefaults
  • TitleChipDefaults
  • TypographyDefaults
  • VerticalListDefaults
Interfaces
  • LazyListItemInfo
  • ListItemScope
  • ListLayoutInfo
  • ListScope
  • StackItemScope
  • StackScope
Properties
  • LocalIconSize
  • LocalTextStyle
Functions
  • calculateContentColor
  • items
  • itemsIndexed
  • SnapLayoutInfoProvider
Jetpack Compose / XR Glimmer / Glimmer / Components / IconButton
Composable Component

IconButton

View Markdown Open in ChatGPT Open in Claude

IconButton is a component used for exposing supplementary actions with a single tap.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
API Examples

IconButtonSample

@Composable
fun IconButtonSample() {
    IconButton(onClick = {}) { Icon(FavoriteIcon, "Localized description") }
}
Icon ← Previous ListItem Next →
On this page
  • IconButtonSample

Never miss a Compose release

Get an alert the moment a new Compose release is out: new APIs, new components, new things to experiment with. Straight from Google's servers.

Join 3,000+ Compose developers. No spam, ever.