Capítulo 39 de 51
A single-part decorative divider (role="separator") with an orientation prop — the simplest component in the library alongside Avatar.
<Separator />, one part, no children needed.orientation: horizontal/vertical, reflected as data-orientation for styling (border direction, margin).| Part | Notable props | Notable data attributes |
|---|---|---|
Separator | orientation | data-orientation |
<hr>/<div> whenever the divider needs correct role="separator" semantics, e.g. inside a Menu or Toolbar where multiple part-specific Separators already exist (Menu.Separator, Toolbar's own) — those are re-exports/wrappers of this same concept in context.Separator sub-part sharing this same role/orientation convention.