use-color
DISCONTINUED
use-prefers-color-scheme
Our great sponsors
- Appwrite - The open-source backend cloud platform
- Onboard AI - Learn any GitHub repo in 59 seconds
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
use-color | use-prefers-color-scheme | |
---|---|---|
3 | 2 | |
274 | 31 | |
- | - | |
6.6 | 0.0 | |
almost 2 years ago | 4 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
use-color
-
useColor: The powerful color hook that all designers deserve - β¨ Parse and stringify that just works & π¦Ύ Strict type checking at compile time
Nice work, I like it! Made a PR to fix a small capitalization issue in the README https://github.com/junhoyeo/use-color/pull/1
use-prefers-color-scheme
-
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
What are some alternatives?
react-hook - β© Strongly typed, concurrent mode-safe React hooks
clean-state - π» A pure and compact state manager, using React-hooks native implementation, automatically connect the module organization architecture. π
use-app-state - π useAppState() hook. that global version of setState() built on Context.
remini - Easy to learn global state for React
react-use-wizard - π§ A React wizard (stepper) builder without the hassle, powered by hooks.
resso - πͺ’ The simplest React state manager
useRedux - Hook to connect redux store to react components
react-spotify-firebase-boilerplate - React boilerplate with Spotify authentication (Authorization Code flow), Firebase, and React Hooks
exome - π State manager for deeply nested states
event - π« Tiny and powerful hook-based event system for React
react-log-hook - React hook for logging per component lifecycle
homebase-react - The React state management library for write-heavy applications