# @artifak/container

> A basic React container component

Latest version **1.0.1** (published 2021-04-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @artifak/container
pnpm add @artifak/container
yarn add @artifak/container
bun add @artifak/container
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-04-07 |
| First published | 2021-04-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 118.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Julian Low |
| Maintainers | heyjules |
| Keywords | react, react-component, component, ui, container, grid, block, layout |

## Links

- npm: https://www.npmjs.com/package/@artifak/container
- Repository: https://github.com/heyjul3s/artifak
- Homepage: https://github.com/heyjul3s/artifak#readme
- Issues: https://github.com/heyjul3s/artifak/issues
- npm.io page: https://npm.io/package/@artifak/container

## Dependencies (1)

- [@artifak/component-generator](https://npm.io/package/@artifak/component-generator.md) ^2.0.4

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-04-07

## README

# `@artifak/container`

A basic container component. By default has full 100% width and margin 0 auto. All you need to do is specify your max widths.

## Usage

Apart from widths, the component also accepts the following style properties:

- background
- border
- color
- display
- layout
- position
- shadow
- space
- typography

Below is a usage example.

```ts
import { Container } from 'artifak';

export function Example() {
  return (
    <Container maxWidth={['40em', '52em', '64em', '80em']}>
      <>
        <p>Hello World</p>
      </>
    </Container>
  );
}
```

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