2.2.13 • Published 1 year ago

@nature-ui/layout v2.2.13

Weekly downloads
16
License
MIT
Repository
github
Last release
1 year ago

@nature-ui/layout

A set of layout primitives that make it super easy to manage page and components.

Installation

yarn add @nature-ui/layout

# or

npm i @nature-ui/layout

Import Components

import { Box, Stack, Badge, Divider } from '@nature-ui/layout';

Usage

Box is just a div on steroids. It gives you the ability to pass style props

<Box className='text-blue-500 hover:bg-red-600 hover:text-white'>
  Welcome to Box
</Box>

Stack is used to group elements and apply a spacing between them. It stacks it's children vertically by default.

<Stack spacing='20px'>
  <Box>Box 1</Box>
  <Box>Box 2</Box>
</Stack>

Badge is used to render a badge. It can comes in different variants and color schemes as defined in the theme.components.Badge

<Badge variant='solid' color='blue-500'>
  Verified <FaCheck />
</Badge>
2.2.1

1 year ago

2.2.0

1 year ago

2.2.13

1 year ago

2.2.11

1 year ago

2.2.12

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago

2.0.3-alpha.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.2.0

3 years ago

0.1.1-alpha.4

3 years ago

0.1.1-alpha.3

3 years ago

0.1.1-alpha.2

3 years ago

0.1.1-alpha.1

3 years ago

0.1.1-alpha.0

3 years ago