@nature-ui/container
TypeScript icon, indicating that this package has built-in type declarations

2.0.13 • Public • Published

@nature-ui/container

Container is just a div component with different sizes

Installation

yarn add @nature-ui/container

# or

npm i @nature-ui/container

Import Components

import Container from '@nature-ui/container';

Usage with sizes

<span>
  <Container className='bg-gray-300' size='xs'>
    I love Nature
  </Container>
  <Container className='bg-blue-300' size='lg'>
    I love Nature
  </Container>
  <Container className='bg-green-300' size='md'>
    I love Nature
  </Container>
  <Container className='bg-blue-300' size='sm'>
    I love Nature
  </Container>
  <Container className='bg-red-300' size='xs'>
    I love Nature
  </Container>
</span>

Package Sidebar

Install

npm i @nature-ui/container

Weekly Downloads

40

Version

2.0.13

License

MIT

Unpacked Size

285 kB

Total Files

12

Last publish

Collaborators

  • dnature