Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@material-ui/system

Package Overview
Dependencies
Maintainers
6
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material-ui/system

Material-UI System - Design system for Material-UI.

  • 4.0.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2M
decreased by-1.68%
Maintainers
6
Weekly downloads
 
Created

What is @material-ui/system?

The @material-ui/system package provides a set of utility functions for styling components in a consistent and theme-based manner. It allows developers to apply styles directly to components using a set of predefined style functions and props. This package is part of the Material-UI library, which is a popular React component library for implementing Google's Material Design.

What are @material-ui/system's main functionalities?

Spacing

This feature allows you to apply margin and padding around your components using a consistent theme-based spacing scale. The 'mb' prop sets the bottom margin, and the 'p' prop sets the padding around the component.

{"<Box mb={2} p={3}>Your content here</Box>"}

Color

Enables you to apply color and background color based on the theme's color palette. 'color' sets the text color, while 'bgcolor' sets the background color of the component.

{"<Box color="primary.main" bgcolor="background.paper">Your content here</Box>"}

Typography

Allows you to control typography styles such as font size, font family, and font weight, using the theme's typography scale.

{"<Box fontSize="h6.fontSize" fontFamily="fontFamily" fontWeight="fontWeightLight">Your text here</Box>"}

Layout

Provides a set of props to control layout aspects like display, flex direction, alignment, and distribution of space among items in a container.

{"<Box display="flex" flexDirection="column" alignItems="center" justifyContent="center">Your content here</Box>"}

Other packages similar to @material-ui/system

Keywords

FAQs

Package last updated on 12 Feb 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc