Separator

import Separator from "@kiwicom/orbit-components/lib/Separator";
<Separator />

Props

NameTypeDefaultDescription
sideOffsetenum"none"Amount of padding expressed as spacing tokens in the opposite direction depending on the align prop.
alignenum"left"The direction of indentation. If "center" then it’s indented from both sides.
spaceAfterenumAdditional margin-bottom after component.
dataTeststringOptional prop for testing purposes.
typeenum"solid"The type of the separator.
colorstringThe color of the separator. The value should be a string with the value of a Tailwind border color class valid in Orbit. For instance: “border-blue-normal” or “border-product-normal”

enum

sideOffsetaligntypespaceAfter
"none""left""solid""none"
"small" - deprecated (use "300")"right""dashed""smallest"
"medium" - deprecated (use "400")"center""dotted""small"
"large" - deprecated (use "600")"double""normal"
"XLarge" - deprecated (use "800")"none""medium"
"XXLarge" - deprecated (use"1000")"large"
"300""largest"
"400"
"600"
"800"
"1000"