@nature-ui/container
v2.0.13
Published
Container, nature-ui, component, Nature-UI container
Downloads
53
Maintainers
Readme
@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>