Separator

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

Props

NameTypeDefaultDescription
indentenum"none"Amount of padding expressed as spacing tokens in the 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. See this docs
dataTeststringOptional prop for testing purposes.
typeenum"none"The type of the separator.
colorstringThe color of the separator. You will need to pass a value different than "none" to the type property, as it’s required for color to be shown. The value should be a string name of the token, for instance: “paletteBlueNormal” or “paletteProductNormal”

enum

indentaligntype
"none""left""solid"
"small""right""dashed"
"medium""center""dotted"
"large""double"
"XLarge""none"
"XXLarge"