Skip to content
Navigation

ScrollProgress

client23.25 kB
@stellaria/nebula-webScrollProgressProps

Preview

Preview

Props

9
PropTypeDefault

className

string

color

ColorExtended"primary"

height

number3

label

string"Reading progress"

onProgress

((value: number) => void)

position

"top" | "bottom" | "static""top"

radius

"sm" | "full" | "none""none"

target

The element whose scroll is tracked. Without it, the document.

RefObject<HTMLElement | null>

withTrack

booleanfalse

Slot props

1

Each one spreads over an inner element, so you can restyle a region without forking the component.

PropTypeDefault

barProps

The advancing bar. Its width comes from a variable written on the root, not here.

BoxSlotProps

Also accepts

On top of its own props, this component forwards these groups.

Style props · 127