Separator

    Introduction

    A divider that separates two different sets of content.

    Separator
    1. Label
    2. Left line
    3. Right line

    Examples

    Default

    A solid Separator without a label.

    With label

    A dashed Separator with label center-aligned.

    Colors

    Line styles

    Design Reference

    N/A

    API

    Separator

    import { Separator } from  '@ahaui/react'Copy import code for the Separator component
    NameTypeDefaultDescription
    label
    string

    Custom label

    variant
    'light' | 'lighter' | 'primary' | 'positive' | 'negative' | 'gray'
    'light'

    The Separator visual variant

    lineType
    'solid' | 'dashed'
    'solid'
    Powered by Got It, Inc.Slack