DocsBlog

Get Started

Components

Data Grid

Signals

Styling

Theming

↑↓Navigate
↵Select
EscClose
  • 1.8.0

  • Day

    Night

    Preview

    Switch mode
  • cerberus

    acheron

    elysium

    oceanus

Get Started
Components
Data Grid
Signals
Styling
Theming

Concepts

OverviewCompositionCerberus ContextTesting

Layout

Aspect RatioBleedBoxCenterContainerContainer QueryDividerFlexFloatGridGroupLink OverlayScrollableStackWrap

Components

AccordionAdmonitionAvatarButtonCarouselCheckboxClipboardCollapsibleComboboxConfirm ModalCTA ModalDate PickerDialogFieldFieldsetFile UploaderIconButtonInputLoading StatesMarqueeMenuNotificationsNumber InputPaginationPin InputPopoverProgress IndicatorsPrompt ModalRadioRatingSelectSliderSplit ButtonSwitchTableTabsTagTextTextareaToggleTooltip

Utilities

Client OnlyDownload TriggerEnvironmentFeature FlagsFocus TrapForFormat ByteFormat NumberFormat Relative TimeFormat Relative TimeFrameHighlightJSON Tree ViewLocalePortalPresenceShowSwapsplitPropsTheme

Divider

Used to create visual separation between content.

  • Panda
View as Markdown
Open this page in Markdown
Anthropic
Open in Claude
Ask questions about this page
OpenAI
Open in ChatGPT
Ask questions about this page

Import

import { Divider } from 'styled-system/jsx'

Usage

Used to visually separate content.

Loading example...

Appearance

To change the appearance of the divider, use the borderStyle prop.

Loading example...

Orientation

Use the orientation prop to change the orientation of the divider.

Loading example...

Thickness

Use the thickness prop to change the thickness of the divider.

Loading example...

Color

Use the color prop to change the color of the divider.

Loading example...

Label

Create visual labels by combining a Divider with other layout components.

Loading example...

Props

The Divider component accepts the following utility props in addition to style and factory props:

PropTypeDescription
orientationhorizontal,verticalThe orientation of the divider. Defaults to "horizontal".
thicknessstringThe thickness of the divider. Defaults to "1px".
colorstringThe color of the divider. Defaults to "gray.200".

On this page

  • Import
  • Usage
  • Appearance
    • Orientation
    • Thickness
    • Color
  • Label
  • Props
Edit this page on Github

First

Second

Third

Text

Text

Text

Label (start)

Label (end)

Label (center)