Pular para o conteúdo

Separator

Este conteúdo não está disponível em sua língua ainda.

The Separator component is used to visually divide content or group related items in layouts.
It supports both horizontal and vertical orientations, different sizes, and style variants.

  • Orientation: Can be horizontal or vertical.
  • Style variants: Supports solid, dashed, and dotted.
  • Custom sizing: Adjustable thickness and length.
  • Flexible alignment: Can align with start, end, or center content.

start

end

center

PropTypeDefaultDescription
sizestringmdDetermines the thickness of the separator (sm, md, lg, xl).
variantstringsolidStyle of the line: solid, dashed, dotted.
orientationstringhorizontalOrientation of the separator: horizontal or vertical.
heightstringOptional height for vertical separators.
classstringCustom CSS classes.
stylestringInline styles for additional customization.
  • Use separators to group related content or divide sections clearly.
  • Prefer subtle variants for less prominent separation, and solid for strong division.
  • Adjust size according to surrounding content and layout.
  • Combine orientation and alignment for responsive layouts.
  • Avoid overusing separators to prevent visual clutter.