Divider

Material Design 3 divider component for separating content

Divider

Dividers separate content into clear groups. Place any content inside .divider and it will appear centered between two line segments.

Basic Usage

Plain Divider

Divider with Text

OR

Divider with Icon

✦

Content Positioning

Content Position

Section Title
Centered
End

Orientation

Horizontal (Default)

Horizontal Divider

Content above
OR
Content below

Vertical

Vertical Divider

Left
Right

Vertical with Text

Section A
OR
Section B

Styles

Solid (Default)

Solid Divider

Solid

Dashed

Dashed Divider

Dashed

Dotted

Dotted Divider

Dotted

Thickness

Divider Thickness

Thin
Default
Medium
Thick

Colors

Colored Dividers

Primary
Secondary
Tertiary
Success
Warning
Error

Gradient

Gradient Divider

OR

Spacing

Divider Spacing

Compact
Default
Comfortable
Spacious

Inset

For list items or indented layouts:

Inset Dividers

API Reference

Class Description
.divider Base divider; content inside appears between lines
.divider-vertical Vertical orientation
.divider-start Content aligned to start
.divider-end Content aligned to end
.divider-thin 1px line thickness
.divider-medium 2px line thickness
.divider-thick 4px line thickness
.divider-dashed Dashed line style
.divider-dotted Dotted line style
.divider-gradient Fades out at edges
.divider-primary Primary color lines
.divider-secondary Secondary color lines
.divider-tertiary Tertiary color lines
.divider-info Info color lines
.divider-success Success color lines
.divider-warning Warning color lines
.divider-error Error color lines
.divider-compact Reduced spacing and gap
.divider-comfortable Increased margin
.divider-spacious Maximum margin and gap
.divider-inset Left-indented
.divider-inset-both Both sides indented
  • Card - Content containers
  • List - List items

See Also