Use-prefers-color-scheme Alternatives
Similar projects and alternatives to use-prefers-color-scheme
-
use-color
Discontinued 🛼🛼🛼 The powerful color hook that all designers deserve. ✨ Parse and stringify that just works & 🦾 Strict type checking at compile time
-
use-prefers-reduced-motion
🪝 React hook for subscribing to user's motion preference.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
react-hook
↩ Strongly typed, concurrent mode-safe React hooks
-
react-as-prop
Type-safe `as` prop utility for flexible and semantic UI components of React
-
web.dev
Discontinued The frontend, backend, and content source code for web.dev
-
-
dark-mode-toggle
🌓 A dark mode toggle component for React. (by anatoliygatt)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
use-prefers-color-scheme reviews and mentions
-
I’ve built a fully themeable and accessible dark mode toggle component for React. [Details in the comments]
Thank you! I'm not linking to any articles here. dark-mode-toggle is a controlled React component, so you can query the preferred color scheme with a hook like https://github.com/anatoliygatt/use-prefers-color-scheme and set the mode prop to whatever value you like, as long as it is either dark or light 😉.
-
I’ve built two React hooks that will help you in making your apps more accessible
🗄 Repository: GitHub 💻 Live Demo: CodeSandbox
Stats
anatoliygatt/use-prefers-color-scheme is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of use-prefers-color-scheme is TypeScript.