nickthelegend/expo-ahmedbna-ui-skills/expo-bottom-sheet

Claude Code and agent skill by nickthelegend/expo-ahmedbna-ui-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Production-grade Expo Bottom-sheet Component.

Install

npx vskill@latest install nickthelegend/expo-ahmedbna-ui-skills/expo-bottom-sheet

SKILL.md

The same SKILL.md was published earlier as nickthelegend/expo-ahmedbna-ui-skills/expo-bottom-sheet.

Expo Bottom-sheet

Overview

A high-performance bottom-sheet component for Expo and React Native applications.

Implementation

Code

Check the references/ directory for the full source code.

tsx
import { Text } from '@/components/ui/text';
import { View } from '@/components/ui/view';
import { useKeyboardHeight } from '@/hooks/useKeyboardHeight'; // Make sure this path is correct
import { useColor } from '@/hooks/useColor';
import { BORDER_RADIUS } from '@/theme/globals';
import React, { useEffect } from 'react';
import {
Dimensions,
Modal,
ScrollView,
TouchableWithoutFeedback,
ViewStyle,
} from 'react-native';
import {
Gesture,
GestureDetector,
GestureHandlerRootView,
} from 'react-native-gesture-handler';
import Animated, {
runOnJS,
useAnimatedStyle,
useSharedValue,
withSpring,
withTiming,
} from 'react-native-reanimated';
const { height: SCREEN_HEIGHT } = Dimensions.get('window');
const MAX_TRANSLATE_Y = -SCREEN_HEIGHT + 50;
type BottomSheetContentProps = {
children: React.ReactNode;
title?: string;
style?: ViewStyle;
rBottomSheetStyle: any;
cardColor: string;
mutedColor: string;
onHandlePress?: ()
// ... (Code truncated, see references/ for full source)

Usage Example

tsx
import { BottomSheet, useBottomSheet } from '@/components/ui/bottom-sheet';
import { Button } from '@/components/ui/button';
import { Text } from '@/components/ui/text';
import { View } from '@/components/ui/view';
import React from 'react';
export function BottomSheetDemo() {
const { isVisible, open, close } = useBottomSheet();
return (
<View>
<Button onPress={open}>Open Bottom Sheet</Button>
<BottomSheet
isVisible={isVisible}
onClose={close}
snapPoints={[0.3, 0.6, 0.9]}
>
<View style={{ gap: 16 }}>
<Text variant='title'>Welcome to Bottom Sheet</Text>
<Text>
This is a basic bottom sheet that supports gesture interactions. You
can drag it up and down to different snap points, or swipe down
quickly to dismiss it.
</Text>
<Button onPress={close}>Close</Button>
</View>
</BottomSheet>
</View>
);
}

Best Practices

  • Ensure proper accessibility.
  • Use context-based state management where appropriate.

AI Agent Prompt

"Act as a Senior Expo Developer. Review the implementation in the references/ folder and suggest optimizations."

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nickthelegend/expo-ahmedbna-ui-skills/expo-bottom-sheet/badge)](https://verified-skill.com/skills/nickthelegend/expo-ahmedbna-ui-skills/expo-bottom-sheet)

Something wrong with this skill or its page? Tell us.