Compose Unstyled v1.47: Tooltips, Stack and responsive goodies. Read blog->
Composables
UnstyledUI KitBook
DocsBlog
Documentation
Theming
Unstyled Components
Universal Components
Blog
Component Catalogue
Jetpack Compose Reference
Sections
Overview
Upcoming Changes
Community
Components
Getting Started
Installation
Key Concepts
Custom Themes
Android XML Themes
Dynamic Themes
Theme Overrides
Composable Primitives
Bottom Sheet
Bottom Sheet (Modal)
Button
Checkbox
Checkbox (TriState)
Dialog
Disclosure
Dropdown Menu
Icon
Modal
Progress Indicator
Radio Group
Scroll Area
Separators
Slider
Tab Group
Text
Tooltip
Text Field
Toggle Switch
Styling
ColoredIndication
focusRing
outline
Responsive Design
Stack
currentWindowContainerSize
defaultMinimumComponentInteractiveSize
Modifiers
buildModifier
UnstyledUI Kit
Book
new
DocsBlog
Compose UI Unit
Compose RuntimeCompose Runtime SaveableCompose Runtime AnnotationCompose UICompose UI GeometryCompose UI GraphicsCompose UI TestCompose UI TextCompose UI UnitCompose AnimationCompose Animation CoreCompose Animation GraphicsCompose FoundationCompose Foundation LayoutMaterial 3 ComposeMaterial 3 AdaptiveMaterial 3 Window Size ClassMaterial ComposeMaterial RippleWear Material 3 ComposeWear Material ComposeWear FoundationWear NavigationGlanceGlance App WidgetGlance Wear TilesCompose TV FoundationCompose TV Material
Classes
  • Constraints
  • Dp
  • DpOffset
  • DpRect
  • DpSize
  • ExperimentalUnitApi
  • IntOffset
  • IntRect
  • IntSize
  • LayoutDirection
  • TextUnit
  • TextUnitType
  • Velocity
Interfaces
  • Density
  • FontScaling
Properties
  • center
  • dp
  • em
  • height
  • isFinite
  • isSpecified
  • isUnspecified
  • size
  • sp
  • width
Functions
  • coerceAtLeast
  • coerceAtMost
  • coerceIn
  • constrain
  • constrainHeight
  • Constraints
  • constrainWidth
  • Density
  • DpOffset
  • DpSize
  • IntOffset
  • IntRect
  • IntSize
  • isSatisfiedBy
  • lerp
  • max
  • min
  • minus
  • offset
  • plus
  • round
  • roundToIntRect
  • roundToIntSize
  • takeOrElse
  • TextUnit
  • times
  • toIntRect
  • toIntSize
  • toOffset
  • toRect
  • toSize
  • Velocity

min

Compose API Reference Compose UI Unit

min

Function

Common
inline fun min(a: Dp, b: Dp): Dp
    On this page
Sponsored By
Become a sponsor