Skip to content
Foundation / Layout

Scroll

server24.5 kB
@stellaria/nebula-webScrollProps

Preview

Props

12
PropTypeDefault

axis

ScrollAxis"y"

bounce

booleantrue

children

ReactNode

className

Composes with the classes `Box` computes instead of replacing them.

string

component

(ElementType & C)

gutter

booleanfalse

momentum

booleanfalse

multiplier

number1.5

scrollbarSize

string | number

shadows

booleanfalse

smooth

booleanfalse

spring

SpringName"default"

Also accepts

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

Style props · 128