All Projects → tsuzukihashi → Neumorphismui

tsuzukihashi / Neumorphismui

Licence: mit
NeumorphismUI is a library that can be used with SwiftUI. Compatible with Swift Package Manager.

Programming Languages

swift
15916 projects

Labels

Projects that are alternatives of or similar to Neumorphismui

Components
Fully responsive and beautiful HTML components made with VueJS and TailwindCSS.
Stars: ✭ 121 (-9.02%)
Mutual labels:  design
Materialdesigninxamltoolkit
Google's Material Design in XAML & WPF, for C# & VB.Net.
Stars: ✭ 11,603 (+8624.06%)
Mutual labels:  design
Patchfluent
💧 🦄 Customize Windows 10 Updates
Stars: ✭ 128 (-3.76%)
Mutual labels:  design
Spec Next
Level up.
Stars: ✭ 121 (-9.02%)
Mutual labels:  design
Tachyons
Functional css for humans
Stars: ✭ 11,057 (+8213.53%)
Mutual labels:  design
Fooddelivery
Design OO food delivery app with C# & Design Patterns
Stars: ✭ 126 (-5.26%)
Mutual labels:  design
100 Words Design Patterns Java
GoF Design Patterns, each pattern described with story from real life.
Stars: ✭ 117 (-12.03%)
Mutual labels:  design
Arclayout
With Arc Layout explore new styles and approaches on material design
Stars: ✭ 1,662 (+1149.62%)
Mutual labels:  design
Simple Icons
SVG icons for popular brands
Stars: ✭ 12,090 (+8990.23%)
Mutual labels:  design
Design Resources
📐 Select websites, tools, assets, and readings for working in and learning about design.
Stars: ✭ 127 (-4.51%)
Mutual labels:  design
Low Level Design Primer
Dedicated Resources for the Low-Level System Design. Learn how to design and implement large-scale systems. Prep for the system design interview.
Stars: ✭ 2,706 (+1934.59%)
Mutual labels:  design
Awesome Product Design
A collection of bookmarks, resources, articles for product designers.
Stars: ✭ 1,679 (+1162.41%)
Mutual labels:  design
Blueesc
Simple, open-source ESC that uses the SimonK firmware.
Stars: ✭ 126 (-5.26%)
Mutual labels:  design
Designdetails
A weekly conversation about design process and culture
Stars: ✭ 119 (-10.53%)
Mutual labels:  design
Bhban rpa
6개월 치 업무를 하루 만에 끝내는 업무 자동화(생능출판사, 2020)의 예제 코드입니다. 파이썬을 한 번도 배워본 적 없는 분들을 위한 예제이며, 엑셀부터 디자인, 매크로, 크롤링까지 업무 자동화와 관련된 다양한 분야 예제가 제공됩니다.
Stars: ✭ 124 (-6.77%)
Mutual labels:  design
Ios Design Patterns
Learning ground for iOS Design Pattern included with sample projects for MVC, MVP, MVVM, and VIPER
Stars: ✭ 120 (-9.77%)
Mutual labels:  design
Sexytooltip
The tooltip that has all the right moves
Stars: ✭ 125 (-6.02%)
Mutual labels:  design
Motion
A library used to create beautiful animations and transitions for iOS.
Stars: ✭ 1,726 (+1197.74%)
Mutual labels:  design
Involt
Inject hardware interactions directly into HTML layout.
Stars: ✭ 128 (-3.76%)
Mutual labels:  design
Material Discord
Material design theme for Discord
Stars: ✭ 127 (-4.51%)
Mutual labels:  design

Github stars Github forks Swift Package Manager compatible License: MIT

NeumorphismUI_Logo

NeumorphismUI is a very useful library that allows you to easily use Neumorphism designs in SwiftUI.

DemoApp

DemoApp LightDemoApp Dark

Requirements

  • iOS 13.0+
  • Xcode 11+
  • Swift 5+

Installation

Swift Package Manager

Usage

Simple

let neumorphism = NeumorphismManager(
    isDark: false,
    lightColor: Color(hex: "C1D2EB"),
    darkColor: Color(hex: "2C292C")
)

let contentView = ContentView()
    .environmentObject(neumorphism)
import SwiftUI
import NeumorphismUI

struct SimpleView: View {
    @EnvironmentObject var neumorphism: NeumorphismManager

    var body: some View {
        ZStack {
            neumorphism.color.edgesIgnoringSafeArea(.all)
            Circle()
                .fill(neumorphism.color)
                .frame(width: 200, height: 200)
                .neumorphismShadow()
        }
    }
}

Simple View Light

let neumorphism = NeumorphismManager(
    isDark: true,
    lightColor: Color(hex: "C1D2EB"),
    darkColor: Color(hex: "2C292C")
)

let contentView = ContentView()
    .environmentObject(neumorphism)

Simple View Dark

NeumorphismConcave

Rectangle()
    .fill(neumorphism.color)
    .neumorphismConcave(shapeType: .rectangle, color: nil)
    .frame(width: 256, height: 100)

RoundedRectangle(cornerRadius: 16)
    .fill(neumorphism.color)
    .neumorphismConcave(shapeType: .roundedRectangle(cornerRadius: 16), color: nil)
    .frame(width: 256, height: 100)

Circle()
    .fill(neumorphism.color)
    .neumorphismConcave(shapeType: .circle, color: nil)
    .frame(width: 150, height: 150)

Ellipse()
    .fill(neumorphism.color)
    .neumorphismConcave(shapeType: .ellipse, color: nil)
    .frame(width: 300, height: 100)

Capsule(style: .circular)
    .fill(neumorphism.color)
    .neumorphismConcave(shapeType: .capsule, color: nil)
    .frame(width: 300, height: 100)

ConcaveViewList

NeumorphismButton

NeumorphismButton(
    shapeType: .roundedRectangle(cornerRadius: 20),
    normalImage: Image(systemName: "star"),
    selectedImage: Image(systemName: "star.fill")
)

Simple Use NeumorphismButton

NeumorphismSlider

Simple Usage!

struct NeumorphismSliderView: View {
    @EnvironmentObject var neumorphism: NeumorphismManager
    @State private var value: Double = 0
    
    var body: some View {
        ZStack {
            neumorphism.color.edgesIgnoringSafeArea(.all)
            VStack {
                Text("VALUE: \(value)")
                    .foregroundColor(self.neumorphism.fontColor())
                
                NeumorphismSlider(value: self.$value, changeHandler: {
                    // call change method
                }) {
                    // call ended method
                }
            }
        }
    }
}

NeumorphismSlider

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].