Unstyled Component Primitives

Find all available component primitives in Compose Unstyled.

Installation

Include the Primitives module in your app's dependencies:

implementation("com.composables:composeunstyled-primitives:1.47.1")

Component Primitives


Styling your components

Every component in Compose Unstyled is renderless. They handle all UX pattern logic, internal state, accessibility (according to ARIA standards), and keyboard interactions for you, but they do not render any UI to the screen.

This is by design so that you can style your components exactly to your needs.

Most of the time, styling is done using Modifiers of your choice. However, sometimes this is not enough due to the order of the Modifiers affecting the visual outcome.

For such cases we provide specific styling parameters.