Skip to Content
SmartUI

Separator

Thin line between groups of content.

Usage

import { Separator } from '@smartui/react';
import '@smartui/react/styles.css';

When to use

  • Separating groups inside a card or a menu.

When not to use

  • Between things already separated by space.

Props

PropTypeDefaultDescription
labelstring-
orientation'horizontal' | 'vertical''horizontal'

Accessibility

  • Decorative lines are hidden from screen readers.

On this page