Netflix-Style Intro
Iconic cinematic text intro with 'u-curve' alignment and deep zoom transition.
Component Features and Props
How to Use Netflix-Style Intro Component
Installation Guide for Netflix-Style Intro
Component Props
Specifications
| Prop | Type | Default | Description |
|---|---|---|---|
textReq | string | - | Brand name text (e.g. 'NETFLIX') |
onFinishReq | () => void | - | Completion callback |
Install
TERMINAL
$ npx expo install react-nativeComponent Code
Component.tsx
1import React, { useEffect, useRef } from 'react';
2import {
3 StyleSheet,
4 View,
5 Animated,
6 Dimensions,
7 StatusBar,
8 Easing
9} from 'react-native';
10
11const { width } = Dimensions.get('window');
12
13interface Props {
14 text: string;
15 onFinish: () => void;
16}
17
18const NetflixSplash = ({ text, onFinish }: Props) => {
19 const letters = text.split('');
20Usage
Usage.tsx
// netflix-splash-screen
import React, { useState } from 'react';
import { View, StyleSheet, Text } from 'react-native';
import NetflixSplash from './components/CinematicSplash';
export default function App() {
const [isBooting, setIsBooting] = useState(true);
if (isBooting) {
return (
<NetflixSplash
text="UILORA"
onFinish={() => setIsBooting(false)}
/>
);
}
return (
<View style={styles.main}>
<Text style={styles.text}>Welcome Home</Text>100%
Interactive Preview running on Expo Web.
Gestures and animations are simulated.
100%
