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
To use this package, you must install the @pikas-ui/styles package.
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
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 />;
};
Prop | Description | Type | Default |
---|---|---|---|
orientation | The orientation of the separator. | SeparatorOrientation | "horizontal" |
className | The class name of the separator. | string | - |
size | The size of the separator. | number | 2 |
css | The css of the separator. | PikasCSS | - |
colorName | The color of the separator. | PikasColors | "gray-light" |
borderRadius | The border radius of the separator. | PikasRadius | - |
This documentation can be edited on GitHub here