Component docs
Loading
import { Bleed } from "@pixxl-tools/components";
// In Server Components:
import { Bleed } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
axis | "x" | "y" | "both" | — | — |
size | "sm" | "md" | "lg" | — | Size from the shared scale (xs, sm, md, lg). |
axis"x" | "y" | "both"
size"sm" | "md" | "lg"
Size from the shared scale (xs, sm, md, lg).
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<Bleed>...</Bleed>