@munirmardinli_org/react-styled-kit
- Elegant React Component Styling UtilitiesA sleek, scalable component styling toolkit for React, with enhanced Material-UI integration, powerful utilities, and elegant defaults - crafted by Munir Mardinli.
npm install @munirmardinli_org/react-styled-kit
# or
yarn add @munirmardinli_org/react-styled-kit
import {
StyledButton,
StyledCalendar,
Drawer,
AppBar,
Search,
pxToRem,
} from "@munirmardinli_org/react-styled-kit";
const Example = () => (
<>
<AppBar />
<Drawer />
<Search />
<StyledButton>Click me</StyledButton>
<p style={{ fontSize: pxToRem(16) }}>This text uses rem units.</p>
</>
);
Component | Description |
---|---|
StyledButton |
Button with unified styling |
StyledCalendar |
Custom calendar view |
Drawer , AppBar , DrawerHeader |
Layout navigation elements |
Search , SearchSelect , StyledInputBase |
Search and filter UI |
StyledSnackbar , StyledSnackbarAlert |
Notification components |
StyledTooltip |
Tooltip with custom design |
StyledDataGrid , StyledGridOverlay |
Advanced grid with overlays |
StyledTextField , StyledDateInput , StyledDemoContainer |
Form inputs |
StyledTypography , StyledTypographyCaption , StyledTypographySubcaption , TypographyContainer |
Typography utilities |
StyledSwitchMode |
Theme switch toggle |
StyledScrollToTopFab , StykedKeyboardArrowUp |
Floating action button to scroll to top |
Logo , StyledMenuItem , StyledMenuIcon |
Branding and menu elements |
pxToRem(value: number): string
Converts a pixel value to a rem
unit based on a base font size of 16px
.
pxToRem(16); // '1rem'
📦 style
├── button.ts
├── calendar.css
├── calendar.ts
├── drawer.ts
├── grid.ts
├── scrollToTop.ts
├── search.ts
├── snackbar.ts
├── switchMode.ts
├── textfield.ts
├── tooltip.ts
├── typography.ts
└── pxToRem.ts
👤 Munir Mardinli
MIT License © Munir Mardinli
MIT License
Copyright (c) 2025 Munir Mardinli
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.