A minimalist framework for rapidly building Jetpack compose apps
VelocityX
Show some ❤️ and star the repo.
Subscribe to Codepur
is a 100% free Jetpack open-source minimalist UI Framework built with Kotlin & Jetpack Compose to make Android development easier and more joyful than ever.
Inspired from Tailwindcss and Flutter
"Welcome to VelocityX".text.white.xl4.bold.center.make()
Getting started
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.iampawan:VelocityXAndroidCompose:1.0.0-alpha01'
}
Usage
- Check output by running Example App in Android Studio
Basic Example of VxBox"VxText Example".text.white.xl4.p16.bold.center.make()
Basic Example of VxCardVxBox { "VxBox Example".text.white.bold.p16.xl2.make() }.blue800.wFull().p16.rounded.make()
Basic Example of VxImageVxCard { "VxCard Example".text.blue800.bold.xl.p20.make() }.make()
Basic Example of VxRowVxImage(R.drawable.flpy).fit.rounded.make()
Basic Example of VxColumnVxRow { "VxRow Example".text.white.bold.p16.xl2.make() WidthBox(20) VxImage(R.drawable.flpy).fit.rounded.make() }.blue800.rounded.make()
Basic Example of VxSpacerVxColumn { "VxText Example".text.blue800.bold.xl2.make() HeightBox(20) VxBox { "VxBox Example".text.white.bold.p16.xl2.make() }.blue800.wFull().p16.rounded.make() HeightBox(20) VxImage(R.drawable.flpy).fit.roundedLg.make() HeightBox(20) VxRow { "VxRow Example".text.white.bold.p16.xl2.make() WidthBox(20) VxImage(R.drawable.flpy).fit.rounded.make() }.blue800.rounded.make() HeightBox(20) VxCard { "VxCard Example".text.blue800.bold.xl.p20.make() }.make() }.p16.make()
Basic Widgets to give spaceVxSpacer().w20().hFull().make()
HeightBox(20) WidthBox(20)
Project Created & Maintained By
Pawan Kumar
Google Developer Expert for Flutter. Passionate #Flutter, #Android Developer. #Entrepreneur #YouTuber
Donate
If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕
Note: VelocityX is not directly and/or indirectly associated/affiliated with Jetbrains or Google LLC.
Copyright-and-license
Code and documentation Copyright 2022 Pawan Kumar. Code released under the Apache License. Docs released under Creative Commons.