2.2.0 • Published 1 month ago

@bedrock-layout/reel v2.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
1 month ago

@bedrock-layout/reel

A layout helper for scrolling content

Full docs at: bedrock-layout.dev


When to Use

Reel component designs and organizes your content into scrollable flatlists, A.K.A Carousels. It also adds convenient breakpoints in the flatlists, hence providing a natural way to scroll through content.


How to install

npm install @bedrock-layout/reel

or

yarn add @bedrock-layout/reel

Usage

import { Reel } from '@bedrock-layout/reel';

<Reel gutter='size3' snapType='mandatory'>
  <div>1</div>
  <div>2</div>
  <div>3</div>
  <div>4</div>
  <div>5</div>
  <div>6</div>
</Reel>;

data-attribute

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


API

* required

PropertyDescriptionTypeDefault
gutter*Sets the space between each child elementone of Spacing**-
snapTypeControls horizontal snap typenone, mandatory or proximity'none'

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

2.2.0

1 month ago

2.1.16

3 months ago

2.1.17

3 months ago

2.1.18

3 months ago

2.1.15

4 months ago

2.1.14

4 months ago

2.1.13

5 months ago

2.1.9

8 months ago

2.1.12

7 months ago

2.1.10

7 months ago

2.1.11

7 months ago

2.1.8

8 months ago

2.1.7

10 months ago

2.1.6

1 year ago

2.1.5

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

1.4.2

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.4

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

2.1.0

1 year ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.9

2 years ago

1.2.10

2 years ago

1.2.11

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

0.3.0

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.1

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago