nickthelegend/expo-ahmedbna-ui-skills/expo-spinner

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 Spinner Component.

Install

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

SKILL.md

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

Expo Spinner

Overview

A high-performance spinner 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 { useColor } from '@/hooks/useColor';
import { BORDER_RADIUS, CORNERS, FONT_SIZE } from '@/theme/globals';
import { Loader2 } from 'lucide-react-native';
import React, { useEffect, useMemo } from 'react';
import { ActivityIndicator, StyleSheet, View, ViewStyle } from 'react-native';
import Animated, {
Easing,
SharedValue,
useAnimatedStyle,
useSharedValue,
withDelay,
withRepeat,
withSequence,
withTiming,
} from 'react-native-reanimated';
// Types
type SpinnerSize = 'default' | 'sm' | 'lg' | 'icon';
export type SpinnerVariant = 'default' | 'circle' | 'dots' | 'pulse' | 'bars';
interface SpinnerProps {
size?: SpinnerSize;
variant?: SpinnerVariant;
label?: string;
showLabel?: boolean;
style?: ViewStyle;
color?: string;
thickness?: number; // Note: thickness is not used in the original component logic
speed?: 'slow' | 'normal' | 'fast';
}
interface LoadingOverlayProps exten
// ... (Code truncated, see references/ for full source)

Usage Example

tsx
import { Spinner } from '@/components/ui/spinner';
import React from 'react';
export function SpinnerDemo() {
return <Spinner size='default' variant='default' />;
}

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-spinner/badge)](https://verified-skill.com/skills/nickthelegend/expo-ahmedbna-ui-skills/expo-spinner)

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