List

List lets you define a list of components. For example: list of buttons, list of icons, list of cards. It is basically a flexbox.

Usage

You can use a list in following way:

{{<list>}}
  Your components goes here.
{{</list>}}

Available Properties

Example

List of Icons

{{<list>}}
  {{<icon name="docker">}}
  {{<icon name="gcp">}}
  {{<icon name="facebook">}}
{{</list>}}

List of Buttons

{{<list>}}
  {{< button type="icon-only" icon="file-text" >}}
  {{< button type="text-only" text="Resume" >}}
  {{< button type="icon-text" icon="file-text" text="Resume" >}}
{{</list>}}

Changing Gap Between Items

{{<list gap="4">}}
  {{< button type="icon-only" icon="file-text" >}}
  {{< button type="text-only" text="Resume" >}}
  {{< button type="icon-text" icon="file-text" text="Resume" >}}
{{</list>}}

Changing List Direction

{{<list dir="col">}}
  {{< button type="icon-only" icon="file-text" >}}
  {{< button type="text-only" text="Resume" >}}
  {{< button type="icon-text" icon="file-text" text="Resume" >}}
{{</list>}}