Separator

Visually or semantically separates content.


DubsUI

An open-source UI component library.

Blog
Docs
Source

Usage

  • Separator component takes in orientation and className props.
  • orientation prop is the direction of the separator. It is an optional prop and accepts horizontal or vertical values.
  • className prop is the CSS class to style the separator. It is an optional prop. Can be used to control width / height.

    Theme

    Presets

    Background

    Custom:

    Primary

    Custom:

    Secondary

    Custom:

    Border

    Custom:

    Mode

    Light
    Dark