@pikas-ui/separator

This package contains a separator component that can be used to separate content in your application.

This library is based on Radix Ui.

Change Log

Requirements

To use this package, you must install the @pikas-ui/styles package.

Installation

You can install this package using npm, yarn, or pnpm.

npm install @pikas-ui/separator
yarn add @pikas-ui/separator
pnpm add @pikas-ui/separator

Usage

Separator

The separator component is used to separate content in your application. It can be used horizontally or vertically.

import { Separator } from '@pikas-ui/separator';

const Example: React.FC = () => {
  return <Separator />;
};
PropDescriptionTypeDefault
orientationThe orientation of the separator.SeparatorOrientation"horizontal"
classNameThe class name of the separator.string-
sizeThe size of the separator.number2
cssThe css of the separator.PikasCSS-
colorNameThe color of the separator.PikasColors"gray-light"
borderRadiusThe border radius of the separator.PikasRadius-

Contributing

This documentation can be edited on GitHub here