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.9.0-alpha04")
}
Components in Compose Foundation
Compose Foundation contains 22 Jetpack Compose components:
Modifiers in Compose Foundation
Compose Foundation contains 38 Jetpack Compose modifier(s):
addTextContextMenuComponents
anchoredDraggable
background
basicMarquee
border
bringIntoViewRequester
bringIntoViewResponder
clickable
clipScrollableContainer
combinedClickable
contentReceiver
dragAndDropSource
dragAndDropTarget
draggable
draggable2D
excludeFromSystemGesture
filterTextContextMenuComponents
focusGroup
focusable
handwritingDetector
handwritingHandler
horizontalScroll
hoverable
indication
magnifier
onFocusedBoundsChanged
overscroll
preferKeepClear
progressSemantics
scrollable
scrollable2D
selectable
selectableGroup
systemGestureExclusion
toggleable
transformable
triStateToggleable
verticalScroll