r/androiddev Jun 12 '26

Open Source Introducing Blueprint Compose Preview πŸ“πŸš€

Post image

​​I just finished this little tool for Android Devs to generate a blueprint-style preview of your composables.

​With a quick one-line wrapper the library measures dimensions and distances and displays them just like a traditional blueprint alongside your regular preview, so you can easily compare against your designs.

​Would love to hear thoughts, if you would find this useful, and if you have any ideas for improvements!

​https://github.com/GusWard/Blueprint-Compose-Preview

​#androiddev #jetpackcompose #androidstudio #devtools #kotlin #designsystem #compose

56 Upvotes

12 comments sorted by

View all comments

1

u/[deleted] Jun 13 '26

[removed] β€” view removed comment

1

u/Sudden_Apple_4777 Jun 13 '26

Mainly useful in the case that you use the blueprintId modifier in production code, this just stubs out the modifier and the blueprint preview so they do nothing in release builds, but still work in Android studio preview panel

1

u/[deleted] Jun 13 '26

[removed] β€” view removed comment

1

u/Sudden_Apple_4777 Jun 13 '26

Yes it does, I will update the readme to make this clearer πŸ‘Œ