Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/SimformSolutionsPvtLtd/SSComposeCookBook

A Collection of major Jetpack compose UI components which are commonly used.πŸŽ‰πŸ”πŸ‘Œ
https://github.com/SimformSolutionsPvtLtd/SSComposeCookBook

android animations collections component compose-examples compose-library cookbook declarative-ui google-maps jetpack-compose jetpack-compose-animation jetpack-google-maps kotlin kotlin-android layout ui-components

Last synced: about 1 month ago
JSON representation

A Collection of major Jetpack compose UI components which are commonly used.πŸŽ‰πŸ”πŸ‘Œ

Lists

README

        

![](/gif/Compose_Banner.png)

# SSComposeCookBook

[![Compose Version](https://img.shields.io/badge/Jetpack%20Compose-1.2.0--beta03-brightgreen)](https://developer.android.com/jetpack/compose)
[![Kotlin Version](https://img.shields.io/badge/Kotlin-v1.6.21-blue.svg)](https://kotlinlang.org)
[![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)
[![Platform](https://img.shields.io/badge/Platform-Android-green.svg?style=flat)](https://www.android.com/)

A Collection of major Jetpack compose UI components which are commonly used.

## Introduction

[Jetpack Compose](https://developer.android.com/jetpack/compose) is a modern toolkit for building native Android UI. It simplifies and accelerates UI development on Android with less code, powerful tools, and intuitive Kotlin APIs.

In this repository, there are number of UI components demonstrated which can be useful in regular development through Jetpack Compose.

## Prerequisites
- Experience with Kotlin syntax, including lambdas

## What you'll need
- [Latest Stable Android Studio](https://developer.android.com/studio)
- [Google Maps Key](https://developers.google.com/maps/documentation/android-sdk/get-api-key)

## Setup (For Google Map Implementation)
To run the google map samples, you'll have to:

1. Get a Maps API key
2. Add an entry in `local.properties` or `local.defaults.properties` that looks like `MAPS_API_KEY=YOUR_MAPS_KEY`
3. Build and run

## Components

| App Bar | Bottom Navigation | Button |
| -- | -- | -- |
| | |

| Checkbox | Dialog | Dropdown |
| -- | -- | -- |
| | |

| FAB | Modal Drawer | Bottom Drawer |
| -- | -- | -- |
| | |

| Radio Button | Slider | Text |
| -- | -- | -- |
| | |

| Textfield | Theme | ZoomView |
| -- | -- | -- |
| | |

| Textfield | Theme | MagnifierView |
| -- | -- | -- |
| | |

| TabBar | DatePicker | TimePicker |
| -- | -- | -- |
| | |

| ImagePicker | ParallaxEffect | Compose views in Xml |
| -- | -- | -- |
| | | |

| XML views in Compose |
| -- |
| |

## List

| LazyRow/Column | LazyVerticalGrid | Advance List |
| -- | -- | -- |
| | |

## Pull To Refresh
| Simple Pull To Refresh | Custom Background Pull To Refresh | Custom View Pull To Refresh |
| -- | -- | -- |
| | |

## Swipe To Delete
| Swipe Left | Swipe Right | Swipe Left + Right |
| -- | -- | -- |
| | |

## Constraint Layout

| Barrier | Guideline | Chain |
| -- | -- | -- |
| | |

## Animation

| Basic | Content | Gesture |
| -- | -- | -- |
| | |

| Infinite | Shimmer | TabBar |
| -- | -- | -- |
| | |

## Sample UI

| Instagram |
| -- |
| |

## Canvas

| Overview | Shapes | Text and Image |
| -- | -- | -- |
| | | |

| Path | Path Operations | DrawScope Helpers |
| -- | -- | -- |
| | | |

| Canvas + Touch | Blend Modes | Basic Example |
| -- | -- | -- |
| | | |

| Android 11 Easter Egg |
| -- |
| |

## Google Maps

| Basic | Marker | Polyline |
| -- | -- | -- |
| | |

| Polygon | Circle | Ground Overlay |
| -- | -- | -- |
| | |

| Tile Overlay | Indoor Level | Lite Map |
| -- | -- | -- |
| | |

| Place Picker | Navigation Viewer | Projection |
| -- | -- | -- |
| | |

| Cluster | Heat Map | KML |
| -- | -- | -- |
| | |

| GeoJSON | ScaleBar | Snapshot |
| -- | -- | -- |
| | |

| Map in scrollable view | Compose Map In XML |
| -- | -- |
| | |

## ViewPager

| Horizontal Pager | Horizontal Pager with Tabs | Horizontal Pager with indicator |
| -- | -- | -- |
| | | |

| Vertical Pager with indicator | Pager with Zoom-intransformation | Pager with Fling Behavior |
| -- | -- | -- |
| | | |

| Add/Remove pager |
| -- |
| |

## Coming Up
- Navigation
- Theme enhancement

## Our Libraries in JetPackCompose
- [SSJetPackComposeProgressButton](https://github.com/SimformSolutionsPvtLtd/SSJetPackComposeProgressButton) : SSJetPackComposeProgressButton is an elegant button with a different loading animations which makes your app attractive.
- [SSJetpackComposeSwipeableView](https://github.com/SimformSolutionsPvtLtd/SSJetpackComposeSwipeableView) : SSJetpackComposeSwipeableView is a small library which provides support for the swipeable views. You can use this in your lazyColumns or can add a simple view which contains swipe to edit/delete functionality.
- [SSComposeOTPPinView](https://github.com/SimformSolutionsPvtLtd/SSComposeOTPPinView) : A custom OTP view to enter a code usually used in authentication. It includes different types of OTPViews which is easy to use and configure your own view and character of OTP using all the attributes.

## Official Documentations
- [Jetpack Compose](https://developer.android.com/jetpack/compose)
- [Jetpack Compose Pathways](https://developer.android.com/courses/pathways/compose)
- [Jetpack Compose Samples](https://github.com/android/compose-samples)

## Find this samples useful? ❀️
Support it by joining __[stargazers]__ for this repository.⭐

## How to Contribute🀝

Whether you're helping us fix bugs, improve the docs, or a feature request, we'd love to have you! πŸ’ͺ
Check out our __[Contributing Guide]__ for ideas on contributing.

## Bugs and Feedback
For bugs, feature requests, and discussion please use __[GitHub Issues]__.

## Awesome Mobile Libraries
- Check out our other available [awesome mobile libraries](https://github.com/SimformSolutionsPvtLtd/Awesome-Mobile-Libraries)

## Main Contributors



Nikunj Buddhadev


Mohammed Hanif


Shweta Chauhan


Mehul Kabaria


Ronak Ukani


Payal Rajput




Krupa Parekh


Priyal Parmar


Yashwant Gowla


Priyank Jain


## License
```
MIT License

Copyright (c) 2022 Simform Solutions

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax)
[git-repo-url]:
[stargazers]:
[Contributing Guide]:
[GitHub Issues]: