Introducing the Jetpack Compose Reference I was t...
# feed
a
Introducing the Jetpack Compose Reference I was tired of digging the internet for documentation on compose, so I built my own Contains the references for composables, modifiers, class, interfaces, companion objects, etc, along with code examples from the official docs in a nice to look at/browse format View the reference at https://composables.com/docs
👍 2
❤️ 4
👍🏽 1
K 24
inb4: What about Compose Multiplatform It's in the TODO 🙂
😄 1
❤️ 1
s
MCP, MCP
1
e
How's this different than the official kdoc at developer.android.com?
1
a
it's compose focused with components/modifiers/composables so it's simpler to browse shows how each library depends on others, has code examples and the gradle dependency to install it
s
I've ended up on your site quite often when googling for how to use certain Compose components, it's really helpful! And ranks highly in search Would be really cool you could add live demos using Compose Web so I can see how a component feels before using it in my app
👍 2
a
Agreed that would be fantastic to have and it's the no1 requested thing will see what I can do
e
@zsmb omg, any source code reference to the dokka plugin or how this is achieved? I need it for my own design system
z
It uses Storytale and its Dokka plugin (which is all very experimental still): https://github.com/Kotlin/Storytale/tree/main/modules/dokka-plugin
It's applied here and configured here. The kdocs have a
@story
tag like this for every function that has a Story. At the end this code combines the distributions of Stories with the Dokka output. (Thanks @Oleksandr Karpovich [JB] for collecting all those references for me 🙇 )
❤️ 2
e
Thanks! I’m also looking at internal tooling so this is helpful reference!
z
This is awesome! I've always hated trying to find compose documentation cause the Android developer website is soooo slow trying to navigate. Thank you so much for this
a
Cheers @zt. Folks, i'm open to suggestions for improvements. If you find that something is hard to find/navigate let me know (elephant in the room is there's no search, but that's in the TODO )
d
Ooh i didnt know this by the way thanks @zsmb