Manage light and dark themes across your application.
Reusable React Hooks
SHIVMS UI provides reusable hooks that simplify state management, responsiveness, accessibility, and common UI behaviors while keeping your components clean and maintainable.
import { useTheme } from "@shivms/ui";
export default function App() {
const {
theme,
toggleTheme,
} = useTheme();
}Available Hooks
Example Usage
Import a hook from SHIVMS UI and use it in your components to simplify common UI behavior.
import {
Button,
useTheme,
} from "@shivms/ui";
export default function App() {
const {
theme,
toggleTheme,
} = useTheme();
return (
<Button
onClick={toggleTheme}
>
Current Theme: {theme}
</Button>
);
}Why Use Hooks?
Reusable Logic
Share common behavior across components without duplicating code.
Better Developer Experience
Write cleaner React components with less boilerplate.
Production Ready
Hooks are designed to be reusable, accessible, and easy to maintain.
Continue Reading
Explore more SHIVMS UI documentation and guides.
Learn what SHIVMS UI is and how to begin.
Install the library into your project.
Reusable React hooks for state, themes and responsiveness.
Use built-in icons throughout your application.
Configure light and dark themes.
Reusable helper functions for everyday development.
Build accessible user interfaces.
Customize colors, spacing and components.
See what's new in each release.
