Jetpack Compose library
Compose Foundation
"Compose Foundation" refers to the core building blocks of Jetpack Compose, providing essential utilities, layouts, and components for developing declarative UIs in Android applications. It forms the basis for creating dynamic and responsive user interfaces with simplicity and efficiency.
Installation
dependencies {
implementation("androidx.compose.foundation:foundation:1.8.0-alpha04")
}
Components in Compose Foundation
Compose Foundation contains 21 Jetpack Compose components:
Modifiers in Compose Foundation
Compose Foundation contains 35 Jetpack Compose modifier(s):
anchoredDraggable
background
basicMarquee
border
bringIntoViewRequester
bringIntoViewResponder
clickable
clipScrollableContainer
combinedClickable
contentReceiver
dragAndDropSource
dragAndDropTarget
draggable
draggable2D
excludeFromSystemGesture
focusGroup
focusable
handwritingDetector
handwritingHandler
horizontalScroll
hoverable
indication
magnifier
onFocusedBoundsChanged
overscroll
preferKeepClear
progressSemantics
scrollable
selectable
selectableGroup
systemGestureExclusion
toggleable
transformable
triStateToggleable
verticalScroll