Coder Social home page Coder Social logo

tanish-ranjan / jetpack-compose-snippets Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 2.0 349 KB

A curated collection of reusable and customizable Jetpack Compose components to accelerate your Android UI development.

License: MIT License

Kotlin 100.00%
android jetpack-compose snippets

jetpack-compose-snippets's Introduction

Jetpack Compose Components ๐ŸŽจ

A curated collection of reusable and customizable Jetpack Compose components to accelerate your Android UI development.

โœจ Features

  • Beautiful and Versatile: Provides a range of pre-styled composables to enhance your app's visual appeal.
  • Easy Integration: Seamlessly integrate these components into your existing Jetpack Compose projects.
  • Theming Support: Customize the appearance of components to match your app's design system.
  • Open for Contributions: We welcome contributions from the community to expand and improve this toolkit!

๐Ÿš€ Getting Started

  1. Add the JitPack repository to your root build.gradle file:

    // Groovy DSL
    dependencyResolutionManagement {
        ...
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    // Kotlin DSL
    dependencyResolutionManagement {
        ...
        repositories {
            ...
            maven { setUrl("https://jitpack.io") }
        }
    }
  2. Add the dependency:

    // Groovy DSL
    dependencies {
        implementation 'com.github.Tanish-Ranjan:jetpack_compose_components:<version>'
    }
    // Kotlin DSL
    dependencies {
        implementation("com.github.Tanish-Ranjan:jetpack_compose_components:<version>")
    }
  3. Use the Composable:

    @Composable
    fun MyScreen() {
        // Example usage of a circular throbber
        CircularThrobber1(
            modifier = Modifier.size(100.dp),
            color = Color.Blue
        )
        
    }

๐Ÿ“š Components

1. Linear Throbbers

Simple and smooth progress indicators for linear actions.

Preview Component
Variant 1 LinearThrobber1
Variant 2 LinearThrobber2

2. Circular Throbbers

Circular progress indicators for various use cases.

Preview Component
Variant 1 CircularThrobber1
Variant 2 CircularThrobber2
Variant 3 CircularThrobber3
Variant 4 CircularThrobber4

3. Bottom Navigation Bars

Easy-to-use navigation bars for the bottom of your screen.

Preview Component
Variant 1 BottomNavigationBar1
Variant 2 BottomNavigationBar2
Variant 3 BottomNavigationBar3
Variant 4 BottomNavigationBar4
Variant 5 BottomNavigationBar5

๐Ÿค Contributing

We welcome contributions! Please check out our CONTRIBUTING.md guide for details on how to get involved.

๐Ÿ“„ License

This project is licensed under the MIT License.

jetpack-compose-snippets's People

Contributors

tanish-ranjan avatar

Stargazers

Ahmed Walid avatar Litrik De Roy avatar Mikoล‚aj Pich avatar Chetan Gupta avatar Chris avatar Mugunthan avatar  avatar  avatar Vivaldy Augusta avatar Mahmoud ELattar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.