Glowup
INPUTS · 30 / 89
Spinner
Spinner — a Material You inputs component for React Native and web.
󱀫
packages/ui/src/components/Spinner.tsx
Live demo
Loading...
Properties
4 controls
Label
Value
Min
Max
Usage
Spinner.tsx
<Spinner label="Loading..." value={10} />
Variants
The states and shapes this component is meant to be used in.
Default
Guests
Steps
Quantity
Seats (packs of 5)
At bounds
Nights
Nights
Disabled
Licences
API reference
Generated from the library's TypeScript, so it cannot drift from the implementation.
Props
7 on SpinnerProps
onChange
required
(val: number) => void
value
required
number
disabled
boolean
label
string
max
number
default: 100
min
number
default: 0
step
number
default: 1