Skip to content
Version:

Install ​

shell
npm i @mate-react/vertical-layout

Import ​

tsx
import { MateVerticalLayout } from '@mate-react/vertical-layout';

Variants ​

Default ​

tsx
<MateVerticalLayout>
  <div>Item 1</div>
  <div>Item 2</div>
  <div>Item 3</div>
</MateVerticalLayout>

With Spacing ​

tsx
<MateVerticalLayout theme="spacing">
  <div>Item 1</div>
  <div>Item 2</div>
</MateVerticalLayout>