Skip to content

The most abstract of all components. You can use it as a layout primitive.

Notifications You must be signed in to change notification settings

vtex-components/box

Repository files navigation

@vtex-components/box

💡 Box is the most abstract component. You can use it as a Layout primitive. Renders a div by default.

NPM JavaScript Style Guide

Install

yarn add @vtex-components/box

Reakit and ThemeUI are peer dependencies, so you must add them with:

yarn add reakit theme-ui 

Usage

import React from 'react'
import Box from '@vtex-component/box'

function Example() {
  return <Box>Box content</Box>
}

License

MIT © vtex

About

The most abstract of all components. You can use it as a layout primitive.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published