Draw attention to important interface elements with .shiny(). Shiny uses your gyroscope to simulate lighting and motion effects on colors. It works on almost every native SwiftUI View. Try it on Text, Toggle, or a VStack. Just add .shiny() to get started!
Shiny
Add motion-based texture to your SwiftUI views
Draw attention to important interface elements with
.shiny()
. Shiny uses your gyroscope to simulate lighting and motion effects on colors. It works on almost every native SwiftUI View. Try it on Text, Toggle, or a VStack. Just add.shiny()
to get started!💳 Inspired by the Apple Cash Card
Contents
Package
For Xcode Projects
File > Swift Packages > Add Package Dependency: https://github.com/maustinstar/shiny
For Swift Packages
Add a dependency in your your
Package.swift
Basic Usage
Just import Shiny and modify your view with
.shiny()
to get started.See the full Reference Guide.
Example
Rainbow text on silver card
See more Examples.
More
🚀 Looking for more fun SwiftUI Packages?
Credits