<VerticalTextBlockList> ComponentA pretty way to display a list of informational links. Used primarily on community pages on docs sites.
<VerticalTextBlockListdata={[{logo: {url: 'https://www.datocms-assets.com/2885/1536611731-meganav-terraform.svg',alt: 'Terraform Logo',},header: 'This is a header',body: 'This is some body text to display',linkUrl: 'https://learn.hashicorp.com/terraform',}]}/>
| Name | Description |
|---|---|
productstring | A lower-case product identifier to pull in respective theme colors. The default is hashicorp blue. |
centerTextboolean | Is text centered on mobile viewports? |
dataarray | An object containing data from the CMS Array members must be of the type below: |
data[x]object | Object contains nested props, see below: |
data[x].headerstring | headline of the current item |
data[x].bodystring | text that appears to the right of the headline, can contain HTML |
data[x].linkUrlstring | when the item is clicked, it will direct to this URL, if present |
data[x].logoobject | an image displayed instead of the header, if presentObject contains nested props, see below: |
data[x].logo.urlstring | image url |
data[x].logo.altstring | image alt |
classNamestring | Optional className to add to the root element |