# @elemental-ui-alpha/container

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

Latest version **0.0.2** (published 2020-04-24) · 0 weekly downloads

## Install

```sh
npm install @elemental-ui-alpha/container
pnpm add @elemental-ui-alpha/container
yarn add @elemental-ui-alpha/container
bun add @elemental-ui-alpha/container
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-04-24 |
| First published | 2020-04-23 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dsf-release-bot, mitchellhamilton |

## Links

- npm: https://www.npmjs.com/package/@elemental-ui-alpha/container
- npm.io page: https://npm.io/package/@elemental-ui-alpha/container

## Dependencies (4)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.8.3
- [@elemental-ui-alpha/core](https://npm.io/package/@elemental-ui-alpha/core.md) ^0.0.2
- [@elemental-ui-alpha/theme](https://npm.io/package/@elemental-ui-alpha/theme.md) ^0.0.0
- [@elemental-ui-alpha/utils](https://npm.io/package/@elemental-ui-alpha/utils.md) ^0.0.2

## Recent versions

- 0.0.2 (latest) — 2020-04-24
- 0.0.1 — 2020-04-23
- 0.0.0 — 2020-04-23

## README

# container

This is the container component.

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

## Width

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

```jsx live
<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.

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

---
_Source: https://npm.io/package/@elemental-ui-alpha/container · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
