# raamcosta/compose-destinations

Annotation processing library for type-safe Jetpack Compose navigation with no boilerplate.

Repository: https://github.com/raamcosta/compose-destinations
Canonical: https://ross.abutalabs.com/products/compose-destinations
Homepage: https://composedestinations.rafaelcosta.xyz
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: android, jetpack-compose, kotlin-android, navigation, ksp, safeargs, android-library, kotlin, kotlin-library, hacktoberfest
Last push: 2025-10-12T18:41:52+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 46, release rhythm 39, longevity 100
- inputs: {"age_days": 1827, "days_push": 325, "days_rel": 325, "gap_med": 48.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3388, forks 144 (observed 2026-08-28T04:07:58.911374+00:00)

## What it is
Compose Destinations is a KSP annotation-processing library that generates type-safe navigation code on top of the official Jetpack Compose Navigation component. It eliminates boilerplate by letting developers annotate Composable functions with @Destination and derive navigation graphs, arguments, deep links, and animations from the function signatures.

## Use cases
- navigate between Jetpack Compose screens with type-safe arguments
- remove boilerplate from Compose Navigation setup
- pass arguments between screens without manual bundle parsing
- set up nested navigation graphs in a Compose app
- add deep links to Compose screens
- return results back to a previous screen in Compose
- add navigation animations and bottom sheet destinations in Compose
- read navigation arguments in ViewModels via SavedStateHandle

## When to choose
- you are building an Android app with Jetpack Compose and want type-safe navigation
- you find the official Navigation Compose API verbose or error-prone
- you want deep linking, animations, and bottom sheets with minimal setup
- you prefer code generation over hand-written route strings

## When to avoid
- you are not using Jetpack Compose for your UI
- you want to avoid KSP/code-generation build steps
- your project depends on a navigation approach incompatible with the official Navigation component
- you need multiplatform Compose navigation beyond Android/Wear OS

## Facets
- artifact type: library
- maturity: active
- function: routing, middleware, mobile-framework
- domain: mobile-development, android-tools, web-development
- platform: jvm
- tags: jetpack-compose, ksp, navigation, type-safe, code-generation, safeargs, deep-linking, bottom-sheet, android

## Member repositories
- raamcosta/compose-destinations (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:58.911374+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:39:05.426744+00:00, confidence not recorded.
  - readme: https://github.com/raamcosta/compose-destinations (fetched 2026-08-28T04:07:58.911374+00:00, sha ff63a337632f)
  - homepage: https://composedestinations.rafaelcosta.xyz (fetched 2026-08-29T09:33:07.084453+00:00, sha 7e986a0ee732)
- Data as of 2026-08-30T08:39:29.467469+00:00.
