Inputs and selection
Quantity stepper
min max step
function QuantityStepperDemo() { const [n, setN] = React.useState(1); return ( <QuantityStepper value={n} onChange={setN} min={0} max={10} /> );}API
<QuantityStepper value onChange min max step />Get it
Already in every copy of the native kit:
import { QuantityStepper } from '@/components/kit/quantity-stepper';Details
- Exports
QuantityStepper- Packages
- lucide-react-native@^1.21.0
- Installs with
- @halftone-native/icon, @halftone-native/lib-haptics, @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- plus minus, counter, increment
- Registry JSON
- /r/native/quantity-stepper.json
function StepperDemo() { const [n, setN] = React.useState(2); return ( <div className="flex items-center gap-4"> <span className="text-sm font-medium">Guests</span> <QuantityStepper aria-label="Guests" value={n} onChange={setN} min={1} max={8} /> </div> );}API
<QuantityStepper value onChange min? max? step? aria-label />Get it
Already in every copy of the web kit:
import { QuantityStepper } from '@/components/kit/quantity-stepper';Details
- Exports
QuantityStepper- Packages
- cn@^0.5.2, lucide-react@^1.52.0
- Also searched as
- counter, stepper input
- Registry JSON
- /r/web/quantity-stepper.json
Agents: the whole registry is at /llms.txt.