
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@20i/react-css-classes
Advanced tools
Using a MUI theme, provides a lot of CSS classes to make writing React components quicker!
"@material-ui/core": "^4.9.0"
"@material-ui/styles": "^4.9.0"
// filename: style.ts
import { createMuiTheme } from "@material-ui/core/styles"
import { useClasses } from "@20i/react-css-classes"
export const theme = createMuiTheme({
// typography,
// palette,
// breakpoints,
// spacing,
// overrides,
// props
})
// export the hook!
export const useReactCSSClasses = useClasses(theme)
import { useReactCSSClasses } from "style"
import React from "react"
const MyReactComponent = () => {
const rc = useReactCSSClasses()
// use whatever classes you want. There's a ton!!
const className = rc.bgPrimaryDark
return (
<div className={className}>
This is my component
</div>
)
}
There's a lot of helper CSS classes. You can view them by category.
Animation Border Color Flex Handy MarginPadding Opacity Positional Shadow TextAlignment Transform
FAQs
Provides a react hook that gives back a lot of useful CSS classes
The npm package @20i/react-css-classes receives a total of 2 weekly downloads. As such, @20i/react-css-classes popularity was classified as not popular.
We found that @20i/react-css-classes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.