Sign in to Reactiive

Use your Google or Apple account.
Signing in subscribes you to the newsletter: new content and the occasional promotion. Unsubscribe at any time.
Skip to content

Family Number Input with Reanimated

Wednesday, January 17, 2024
enzomanuelmangano
demos
family-number-input
An ongoing collection of React Native animations crafted with Reanimated, Gesture Handler, and Skia.
TypeScript
3.2k
296
A number input component with animated display and a grid of buttons inspired by the Family number input.

What's This About?

This component creates a number input that:
Shows animated number changes
Provides a button grid interface
Handles input validation
Includes reset functionality
Uses gradient overlay effects

Usage

// Basic usage <FamilyNumberInput /> // Component structure <SafeAreaView> <AnimatedNumber value={input} /> <ButtonsGrid input={input} onUpdate={(value) => setInput(value)} onBackspace={(value) => setInput(value)} onReset={() => setInput(0)} onMaxReached={() => { // Handle maximum value reached }} /> </SafeAreaView>

Unlock the beauty of React Native animations

Learn Reanimated, Gesture Handler & Skia with Reanimate.dev

Feedback on Family Number Input

Ideas, bugs, or anything that felt off: I read every message. For anything else, write to hello@reactiive.io.
Send feedback