{"id":17957600,"url":"https://github.com/evanbacon/expo-dark-mode-switch","last_synced_at":"2026-03-06T10:02:39.182Z","repository":{"id":47252466,"uuid":"235277818","full_name":"EvanBacon/expo-dark-mode-switch","owner":"EvanBacon","description":"A beautiful React dark mode switch component for iOS, Android, and Web","archived":false,"fork":false,"pushed_at":"2021-09-06T18:02:23.000Z","size":575,"stargazers_count":158,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-26T13:53:11.163Z","etag":null,"topics":["animated","css-in-js","dark-mode","expo","react","react-native","react-native-web","style","switch"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/EvanBacon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-21T07:12:51.000Z","updated_at":"2025-09-06T18:44:21.000Z","dependencies_parsed_at":"2022-09-02T04:11:42.651Z","dependency_job_id":null,"html_url":"https://github.com/EvanBacon/expo-dark-mode-switch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EvanBacon/expo-dark-mode-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanBacon%2Fexpo-dark-mode-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanBacon%2Fexpo-dark-mode-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanBacon%2Fexpo-dark-mode-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanBacon%2Fexpo-dark-mode-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvanBacon","download_url":"https://codeload.github.com/EvanBacon/expo-dark-mode-switch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanBacon%2Fexpo-dark-mode-switch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30171656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["animated","css-in-js","dark-mode","expo","react","react-native","react-native-web","style","switch"],"created_at":"2024-10-29T10:55:47.449Z","updated_at":"2026-03-06T10:02:34.152Z","avatar_url":"https://github.com/EvanBacon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to the Expo Dark Mode Switch 👋\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg align=\"center\" alt=\"Product: demo\" src=\"https://media.giphy.com/media/QZK2FgLG2odtMOSwkm/giphy.gif\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca aria-label=\"made with expo\" href=\"https://github.com/expo\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/MADE%20WITH%20EXPO-000.svg?style=for-the-badge\u0026logo=expo\u0026labelColor=4630eb\u0026logoWidth=20\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/evanbacon\" aria-label=\"Follow EvanBacon on Github\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Github: evanbacon\" src=\"https://img.shields.io/github/followers/evanbacon.svg?label=Follow\u0026style=for-the-badge\u0026logo=github\u0026logoColor=FFFFFF\u0026labelColor=24292e\u0026logoWidth=20\u0026color=lightgray\" target=\"_blank\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge\" target=\"_blank\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nBased on a component from the home screen of [twizzle](https://twizzle.app/) by [@thekitze](https://twitter.com/thekitze). Converted to Expo for use in iOS, Android, and Web apps.\n\n\u003cp\u003e\n  \u003ca href=\"https://twitter.com/baconbrix\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Twitter: baconbrix\" src=\"https://img.shields.io/twitter/follow/baconbrix.svg?style=for-the-badge\u0026logo=TWITTER\u0026logoColor=FFFFFF\u0026labelColor=00aced\u0026logoWidth=20\u0026color=lightgray\" target=\"_blank\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/thekitze\" target=\"_blank\"\u003e\n    \u003cimg align=\"right\" alt=\"Twitter: kitze\" src=\"https://img.shields.io/twitter/follow/thekitze.svg?style=for-the-badge\u0026logo=TWITTER\u0026logoColor=FFFFFF\u0026labelColor=00aced\u0026logoWidth=20\u0026color=lightgray\" target=\"_blank\" /\u003e\n  \u003c/a\u003e  \n\u003c/p\u003e\n\n## Install\n\n```sh\nyarn add expo-dark-mode-switch \u0026\u0026 expo install react-native-svg\n\n# or\n\nnpm install --save expo-dark-mode-switch \u0026\u0026 expo install react-native-svg\n```\n\n### Example\n\n```tsx\nimport * as React from 'react';\nimport Switch from 'expo-dark-mode-switch';\n\nexport default function App() {\n  const [value, setValue] = React.useState(true);\n  return \u003cSwitch value={value} onChange={value =\u003e setValue(value)} /\u003e;\n}\n```\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/evanbacon/expo-dark-mode-switch/issues).\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n## 📝 License\n\nCopyright © 2020 Evan Bacon.\u003cbr /\u003e\nThis project is [MIT](/LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanbacon%2Fexpo-dark-mode-switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevanbacon%2Fexpo-dark-mode-switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanbacon%2Fexpo-dark-mode-switch/lists"}