Skip to content

Instantly share code, notes, and snippets.

View fav-devs's full-sized avatar
🟢
grinding

Favour fav-devs

🟢
grinding
View GitHub Profile
@fav-devs
fav-devs / gist:f7740e4cc680d9cc0061e8ec4fe39c50
Created July 1, 2026 15:08
IOS like tabbar for android
import { Home, Search, Plus, CheckSquare, GraduationCap } from "lucide-react-native";
import React from "react";
import { Pressable, StyleSheet, View } from "react-native";
import Animated, { interpolate, useAnimatedStyle, useSharedValue, withTiming } from "react-native-reanimated";
import { BlurView } from "expo-blur";
const tabs = [Home, Search, Plus, CheckSquare, GraduationCap];
export function GlassTabBar({ activeIndex, onChange }: {
activeIndex: number;
/**
* PermissionScreen — drop-in iOS permission onboarding screen
*
* Dependencies (all standard Expo SDK packages):
* expo-blur, expo-linear-gradient, react-native-svg,
* react-native-safe-area-context, react-native-reanimated
*
* Usage:
* <PermissionScreen
* appName="MyApp"