Separator

Visually or semantically separates content.

Installation
# Install @opencosmos/ui to use Separator
pnpm add @opencosmos/ui
Preview
Loading preview...
Customize
— Orientation of the separator
Usage
Import
import { Separator } from '@opencosmos/ui';
Example
<Separator>
  Content
</Separator>
Eject
Copy this component into your project for full customization

API Reference

PropTypeDefaultDescription
orientationhorizontal | vertical"horizontal"Orientation of the separator

Code Examples

Usage

Basic usage

import { Separator } from '@opencosmos/ui';

<div>
  <Separator orientation="vertical" />
</div>