3.3.2 • Published 3 months ago

@bedrock-layout/stack v3.3.2

Weekly downloads
15
License
MIT
Repository
github
Last release
3 months ago

@bedrock-layout/stack

A layout helper component that creates a vertical stack layout with gutters (spacing) between each item.

Full docs at: bedrock-layout.dev


When to Use

The Stack component literally stacks its child components on top of each other, while maintaining a consistent spacing between them.


How to install

npm install @bedrock-layout/stack

or

yarn add @bedrock-layout/stack


Usage

import { Stack } from '@bedrock-layout/stack';

<Stack gutter='size3'>
  <div>1</div>
  <div>2</div>
  <div>3</div>
  <div>4</div>
  <div>5</div>
  <div>6</div>
</Stack>;

data-attribute

For styling purposes, you can select data-bedrock-stack.


API

* required

PropertyDescriptionTypeDefault
gutter*Sets the space between each child componentone of Spacing**-

** By default, Spacing is one of the spacing-constants values, but this can be overwritten using the ThemeProvider from @bedrock-layout/spacing-constants

3.3.1

6 months ago

3.3.2

3 months ago

3.3.0

8 months ago

3.2.0

9 months ago

3.1.16

9 months ago

3.1.18

9 months ago

3.1.17

9 months ago

3.1.15

10 months ago

3.1.14

10 months ago

3.1.13

12 months ago

3.1.12

1 year ago

3.1.11

1 year ago

3.1.10

1 year ago

3.1.9

1 year ago

3.1.8

1 year ago

3.1.7

2 years ago

3.1.6

2 years ago

3.1.3

2 years ago

3.1.2

2 years ago

3.1.1

2 years ago

3.1.5

2 years ago

3.1.4

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.5.2

2 years ago

2.5.3

2 years ago

3.1.0

2 years ago

2.5.1

2 years ago

2.5.0

2 years ago

2.4.4

2 years ago

2.4.1

3 years ago

2.4.3

3 years ago

2.4.2

3 years ago

2.4.0

3 years ago

2.3.8

3 years ago

2.3.7

3 years ago

2.3.9

3 years ago

2.3.6

3 years ago

2.3.5

3 years ago

2.3.0

3 years ago

2.3.2

3 years ago

2.3.1

3 years ago

2.3.4

3 years ago

2.3.3

3 years ago

2.2.5

3 years ago

2.2.4

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.10

3 years ago

2.1.9

3 years ago

2.1.8

3 years ago

2.1.7

3 years ago

2.1.6

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.5

3 years ago

2.1.1

3 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.4

4 years ago

2.1.0

3 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.13

4 years ago

1.2.12

4 years ago

1.2.11

4 years ago

1.2.10

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago