ScrollProgress
A ScrollProgress component from the Sigil design system.
Import
import { ScrollProgress } from "@sigil-ui/components";Preview
Usage
<ScrollProgress>...</ScrollProgress>Props
| Prop | Type | Default | Description |
|---|---|---|---|
position | `"top" | "bottom"` | top |
height | number | 3 | Bar height in pixels. |
fixed | boolean | true | Whether to use fixed positioning. |
value | number | — | Controlled progress value from 0 to 100. Defaults to document scroll progress. |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-primary | Primary |