Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 836 Bytes

vbox.md

File metadata and controls

49 lines (32 loc) · 836 Bytes

VBox

Flex box in the house.

Importing

<script src="https://cdn.jsdelivr.net/npm/rainforest-web-components@latest/components/vbox.js" type="module"></script>

Examples

<rf-vbox gap="16">
  <p>One</p>
  <p>Two</p>
  <p>Three</p>            
</rf-vbox>

Slots

Name Description
(default) Content of the box.

Attributes

Name Type Description Values Default Reflects
direction string Relative to CSS flex-direction. column | column-reverse | row | row-reverse null
gap number Pixels between. - 0
hidden boolean Hides that nonsense. true | false false

Events

None

Methods

None

Parts

None

Dependencies

None