GithubHelp home page GithubHelp logo

indramahkota / compose-cupertino Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexzhirkevich/compose-cupertino

0.0 0.0 0.0 3.07 MB

Compose Multiplatform UI components for iOS (Cupertino Widgets)

License: Apache License 2.0

Shell 0.02% Ruby 0.04% Kotlin 99.86% Swift 0.04% HTML 0.04%

compose-cupertino's Introduction

Compose Cupertino

compose-mp-version kotlin-version

badge-iOS badge-Android badge-JVM badge-macOS badge-web

Compose.Cuepertino.mp4

Compose Cupertino is a Kotlin Multiplatform library for the Compose Multiplatform UI framework. It provides various UI components for making native-looking iOS applications, including

  • cupertino - Compose Multiplatform implementation of iOS-like Cupertino theme and widgets, based on compose.foundation. Inspired by compose.material3 and SwiftUI APIs;
  • cupertino-native - UIKit native wrappers for Cupertino Widgets. Allows to seamlessly use some UIKit widgets for iOS and their equivalents from cupertino for other platforms;
  • cupertino-adaptive - adaptive theme and wrappers for Cupertino and Material3 widgets. Allows to seamlessly use both widgets from shared code with correct content color and font style;
  • cupertino-icons-extended - more than 800 most used monochrome Apple SF Symbols as Compose ImageVectors. These symbols are copyrighted. Please read licence agreement first. If you don't need these icons for platform other than iOS, you can use ios bundled icons using converters from cupertino-native.
  • cupertino-decompose - iOS-like swipe-back animation for the 'predictive back' navigation feature of the Decompose library + NativeChildren wrapper over UINavigationController. Provides native-feeling or truly native page transitions and swipe gestures.

Installation

Maven Central

Important

The project is in the experimental phase. All APIs can change incompatibly or be dropped without the deprecation cycle!

Add the dependency to your build.gradle.kts file.

Module Dependency
cupertino io.github.alexzhirkevich:cupertino:<version>
cupertino-native io.github.alexzhirkevich:cupertino-native:<version>
cupertino-adaptive io.github.alexzhirkevich:cupertino-adaptive:<version>
cupertino-decompose io.github.alexzhirkevich:cupertino-decompose:<version>
cupertino-icons-extended io.github.alexzhirkevich:cupertino-icons-extended:<version>

Usage

To use iOS-like widgets with Compose Cupertino and view available components, see Cupertino.

To use widgets that change based on the platform (looking like either Material You or iOS) and view available components, see Adaptive.

License

Copyright (c) 2023 Compose Cupertino project and open source contributors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0
    
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

compose-cupertino's People

Contributors

alexzhirkevich avatar sebastianaigner avatar brucemcrooster avatar jacobras avatar mohamedrejeb avatar overpas avatar lavmee avatar teewhydope 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.