{"id":13777335,"url":"https://github.com/maustinstar/shiny","last_synced_at":"2025-05-16T15:08:30.355Z","repository":{"id":37346138,"uuid":"283935490","full_name":"maustinstar/shiny","owner":"maustinstar","description":"Shiny uses your gyroscope to simulate lighting and motion effects on colors. Works on almost every SwiftUI View.","archived":false,"fork":false,"pushed_at":"2024-07-12T00:24:15.000Z","size":2244,"stargazers_count":1028,"open_issues_count":6,"forks_count":20,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-12T14:16:05.682Z","etag":null,"topics":["gyroscope","ios","motion","neumorphic","skeuomorphic","swift","swift-package-manager","swiftui","ui","ux"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maustinstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["maustinstar"]}},"created_at":"2020-07-31T03:44:10.000Z","updated_at":"2025-04-10T01:54:19.000Z","dependencies_parsed_at":"2024-09-24T13:51:19.444Z","dependency_job_id":null,"html_url":"https://github.com/maustinstar/shiny","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"862360b8ab6b9ea9eb1156569a30f154b22625a5"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maustinstar%2Fshiny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maustinstar%2Fshiny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maustinstar%2Fshiny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maustinstar%2Fshiny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maustinstar","download_url":"https://codeload.github.com/maustinstar/shiny/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254553958,"owners_count":22090417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gyroscope","ios","motion","neumorphic","skeuomorphic","swift","swift-package-manager","swiftui","ui","ux"],"created_at":"2024-08-03T18:00:41.753Z","updated_at":"2025-05-16T15:08:25.348Z","avatar_url":"https://github.com/maustinstar.png","language":"Swift","funding_links":["https://github.com/sponsors/maustinstar"],"categories":["Animation","Swift","UI"],"sub_categories":["Content","Others"],"readme":"# Shiny\n\n\u003cimg src=https://raw.githubusercontent.com/maustinstar/shiny/master/Images/shiny-rainbow.gif width=250 align=\"right\" /\u003e\n\n#### Add motion-based texture to your SwiftUI views\n\nDraw 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! \n\n#### 💳 Inspired by the Apple Cash Card\n\n## Contents\n\n- [Add the Package](#package)\n- [Basic Usage](#basic-usage)\n- [Example](#example)\n- [More](#more)\n- [Credits](#credits)\n\n## Package\n\n### For Xcode Projects\n\nFile \u003e Swift Packages \u003e Add Package Dependency: https://github.com/maustinstar/shiny\n\n### For Swift Packages\n\nAdd a dependency in your your `Package.swift`\n\n```swift\n.package(url: \"https://github.com/maustinstar/shiny.git\", from: \"0.0.1\"),\n```\n\n## Basic Usage\n\nJust import Shiny and modify your view with `.shiny()` to get started.\n\n```swift\nimport Shiny\n...\nText(\"Hello, shiny world! ✨\").shiny()\n```\n\n**See the full [Reference Guide](https://github.com/maustinstar/shiny/blob/master/Docs/reference.md).**\n\n## Example\n\n#### Rainbow text on silver card\n\n\u003cimg src=https://raw.githubusercontent.com/maustinstar/shiny/master/Images/shiny-rainbow.gif width=250 align=\"right\" /\u003e\n\n```swift\nText(\"shiny\")\n    .font(.largeTitle)\n    .fontWeight(.bold).shiny()\n    .background(\n        RoundedRectangle(cornerRadius: 14.0)\n            .frame(width: 200.0, height: 70.0)\n            .shiny(.hyperGlossy(UIColor.systemGray5)))\n```\n\n**See more [Examples](https://github.com/maustinstar/shiny/blob/master/Docs/examples.md).**\n\n## More\n\n### 🚀 Looking for more fun SwiftUI Packages?\n\n\u003ca href=\"https://github.com/maustinstar/swiftui-drawer\"\u003e\n  \u003cimg src=\"https://github-readme-stats.vercel.app/api/pin/?username=maustinstar\u0026repo=swiftui-drawer\" height=150 /\u003e\n\u003c/a\u003e\n\n## Credits\n\n* [**Michael Verges**](https://github.com/maustinstar) - *Initial work* - mverges3@gatech.edu - [![Follow on Linkedin](https://img.shields.io/badge/Follow%20on-Linkedin-5176B1.svg)](https://www.linkedin.com/in/michaelverges)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaustinstar%2Fshiny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaustinstar%2Fshiny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaustinstar%2Fshiny/lists"}