Appearance
Separator
Đường phân cách.
ts
import { Separator } from "@minap/ui";Examples
Mẫu sống trong Preview; chọn View code khi cần copy.
Usage
tsx
import { Separator } from "@minap/ui";
export function Example() {
return (
<>
<div className="w-full space-y-2 text-sm">
<p>Above</p>
<Separator />
<p>Below</p>
</div>
</>
);
}Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" | |
decorative | boolean | true | a11y |