Rich Morey
Rich Morey

Reputation: 393

Where is the Material Components Catalog app?

The (so far) insufficient documentation for Material Design / components says this

To try out the MDC Catalog app, you can either run the catalog module in Android Studio or run the following Gradle command: ./gradlew :catalog:installDebug

However, I can ont find the "catalog module" in Android Studio, nor am I sure where to run that Gradle command.

Finally, there is no catalog app in GitHub for Android although there is a "catalog app" for the web components.

Upvotes: 10

Views: 2630

Answers (2)

Gary Wang
Gary Wang

Reputation: 382

For Material Components Catalog app, you can get the source code at material-components/material-components-android on GitHub, the source link is mentioned in the official Building from source page, pre-built binary can be downloaded from their GitHub release page.


I'm searching for Jetpack Compose Catalog and Google search bought me here, for people looking for Jetpack Compose Catalog which contains the official Material components for Jetpack Compose, you can get the app on Google Play. For source code, you can view the source code on AOSP using Android Code Search or the synchronized Android Jetpack repository on GitHub. (reference)

Personally, I recommend using Android Code Search since the Compose Material Catalog app also relies on code in some other source repository (e.g. the source code for ButtonSample are in package androidx.compose.material.samples.*), and the search option provided by Android Code Search can be very helpful to find the actual code you're looking for.

Upvotes: 1

Alexandre Roman
Alexandre Roman

Reputation: 311

The catalog app is located in the material-components-android repo.

Upvotes: 15

Related Questions