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 / Objects / ButtonDefaults
Object

ButtonDefaults

View Markdown Open in ChatGPT Open in Claude

Default values used for Button.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public object ButtonDefaults

Default values used for Button.

Functions

contentPadding

@Composable
public fun contentPadding(buttonSize: ButtonSize): PaddingValues

Default content padding used for a Button with the specified buttonSize.

Typography ← Previous CardDefaults Next →
On this page
  • Functions
  • contentPadding

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.