LinkList

LinkList

import LinkList from "@kiwicom/orbit-components/lib/LinkList";
<LinkList direction="row">
<TextLink type="secondary">Flights</TextLink>
<TextLink type="secondary">Flights</TextLink>
<TextLink type="secondary">Flights</TextLink>
<TextLink type="secondary">Flights</TextLink>
</LinkList>

Props

NameTypeDefaultDescription
childrenReact.NodeThe content of the LinkList
dataTeststringOptional prop for testing purposes.
idstringSet id for LinkList
directionenum"column"The size of the LinkList.
indentbooleanIndenting LinkList item
spacingspacing"400"The spacing between LinkList children.
useMarginbooleanfalseIf true will use margin for spacing, if false will use gap

enum

direction
"row"
"column"

spacing

namesize on 992px - ∞
"none"null
"XXXSmall" - deprecated (use "50")2px
"XXSmall" - deprecated (use "100")4px
"XSmall" - deprecated (use "200")8px
"small" - deprecated (use "300")12px
"medium" - deprecated (use "400")16px
"large" - deprecated (use "600")24px
"XLarge" - deprecated (use "800")32px
"XXLarge" - deprecated (use "1000")40px
"50"2px
"100"4px
"150"6px
"200"8px
"300"12px
"400"16px
"500"20px
"600"24px
"800"32px
"1000"40px
"1200"48px
"1600"64px