Skip to main content
Reakit
DocumentationNewsletter
GitHub
GitHub
Reakit is featured on Product Hunt!

Separator

Separator is a static structure that provides a visible boundary for elements. It implements the WAI-ARIA Separator Role.

#Installation

npm install reakit

Learn more in Get started.

#Usage

import { Separator } from "reakit/Separator";

function Example() {
  return <Separator orientation="horizontal" />;
}

#Accessibility

  • Separator has role separator.

Learn more in Accessibility.

#Composition

Learn more in Composition.

#Props

#Separator

  • orientation "horizontal" | "vertical" | undefined

    Separator's orientation.