Component docs
Loading
import { Sticky } from "@pixxl-tools/components";
// In Server Components:
import { Sticky } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
offset | number | string | — | — |
offsetnumber | string
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<Sticky offset="var(--pixxl-space-2)" />