You are currently viewing outdated (<=3.x) Chameleon documentation on our old website. For version >=4.x, check out our new website.

Current release: 3.5.0 | hub

components

Divider (code)

Dividers allow a visual representation of the start of a new area of content.


import { Divider } from '@mediahuis/chameleon-react'

Props

NameTypeDefaultRequiredDescription
classNameString--Extend classNames.
colorString--Set the borderColor: to be one of the color system value e.g. primaryBase.
m0--

System Props

System Props

Next to the properties listed in the propstable, a collection of system props can be added to any component for further general styling and layouting purposes. These props vary per component.

To read more about the system, click here to check out its dedicated page.

Color

default: undefined

Sets the color of the line.


© Copyright 2020 Mediahuis NV. All rights Reserved