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

Dot Sheet Animation with Reanimated and Skia

Tuesday, July 16, 2024
enzomanuelmangano
demos
dot-sheet
An ongoing collection of React Native animations crafted with Reanimated, Gesture Handler, and Skia.
TypeScript
3.2k
296
A card input component with a gradient background and bottom sheet interaction. Inspired by the Dot app's design.

What's This About?

This component creates a card input form with:
Bottom sheet for card details
Gradient background
Call-to-action button
Safe area handling

Technical Implementation

The component uses:
Reanimated for animations
Gradient background with Skia
Custom font integration
Bottom sheet gestures
Ref-based focus management

Usage

// Basic usage <DotSheet />; // Card input reference const cardInputRef = useRef<CardInputRefType>(null); // Component structure <> <BackgroundGradient /> <CardInput ref={cardInputRef} /> <PressableScale onPress={() => { cardInputRef.current?.focus(); }} > <Text>Start your Journey</Text> </PressableScale> </>;

Unlock the beauty of React Native animations

Learn Reanimated, Gesture Handler & Skia with Reanimate.dev

Feedback on Dot Sheet

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