Create an app using the CLI
The Composables CLI is the fastest way to get started with Composables UI.
Install it on your computer:
npm install -g composables-cli
then create a new app using the interactive wizard:
composables create-app
Note that the CLI is optimized for agenting coding. Ask your LLM to create an app for specific targets for you.
Install to an existing project
There are 2 ways to add Composables UI to your project.
Either via the gradle dependency, or by manually copy and pasting the sources in your project.
Add the Gradle dependency in your app/build.gradle.kts file. This will add all components and theming functionality to your project:
implementation("com.composables:ui:0.2.0")Add the required dependencies in your app/build.gradle.kts file. These are used by the components and themes that bring each components UX patterns and missing Jetpack Compose styling APIs:
implementation("com.composables:composeunstyled:2.7.0")
implementation("com.composables:compose-interaction-capabilities:1.1.0")
Once that is done, head over to components and pick any component you wish to add to your project.
Also head over to theming to add design token based theming functionality to your app if you don't have one.