use-color
use-prefers-color-scheme
use-color | use-prefers-color-scheme | |
---|---|---|
3 | 2 | |
274 | 31 | |
- | - | |
6.6 | 3.9 | |
over 2 years ago | 9 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-color: The powerful color hook that all designers deserve. β¨Parse and stringify that just works & π¦Ύ Strict type checking at compile time
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-prefers-reduced-motion - πͺ React hook for subscribing to user's motion preference.
use-app-state - π useAppState() hook. that global version of setState() built on Context.
react-as-prop - Type-safe `as` prop utility for flexible and semantic UI components of React
exome - π State manager for deeply nested states
tab-a11y
react-use-wizard - π§ A React wizard (stepper) builder without the hassle, powered by hooks.
react-spotify-firebase-boilerplate - React boilerplate with Spotify authentication (Authorization Code flow), Firebase, and React Hooks
remini - Easy to learn global state for React
homebase-react - The React state management library for write-heavy applications