Separator

To implement Separator component into your project you’ll need to add the import:

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

After adding import into your project you can use it simply like:

<Separator />

Props

Table below contains all types of the props available in the Separator component.

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

enum

indentalign
"none""left"
"small""right"
"medium""center"
"large"
"XLarge"
"XXLarge"