New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@elemental-ui-alpha/container

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elemental-ui-alpha/container

The container primitive lets consumer center content within a fixed width container.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
2
Created
Source

container

This is the container component.

import { Container } from '@elemental-ui-alpha/container';

Width

Provide a maximum width in pixels. The default is 760.

<Container width={300}>
  <Box background="shade" padding="small">
    300px Wide
  </Box>
</Container>

Gutter

Provide a "gutter" to the container. This is the spacing around the container to prevent the content from from running into the chrome around it.

<Container width={300} gutter="xlarge">
  <Box background="shade" padding="small">
    medium gutter
  </Box>
</Container>

FAQs

Package last updated on 24 Apr 2020

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