@vtex-components/box
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@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

Dependencies (0)

    Dev Dependencies (24)

    Package Sidebar

    Install

    npm i @vtex-components/box

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    21.3 kB

    Total Files

    17

    Last publish

    Collaborators

    • emersonlaurentino
    • lucasaarcoverde
    • matheusps