Separator
Lays down the access creds for a separator. It’s the visual boss that splits up chunks of content, like menu items or page sections.
Basic
Sometimes you need a separator to separate content. This component is a simple wrapper around the Separator
component from react-aria-components
. It's a breeze to use.
Preview
Code
Installation
If you hit any issues, make sure you check out the installation guide here.
Manual Installation
Sometimes, using the CLI is the way to go, so make sure you install the necessary dependencies for the components you want to use.
Anatomy
Import the components and use them as shown below, adapting the structure to fit each component.
Orientation
Separator has two orientations: horizontal
and vertical
. The default is horizontal
.
Preview
Code