Expo Building Native UI Skill

Official Expo skill for building native feeling UI in Expo apps.

Design / Design and Frontenddesigndesign-and-frontend
by AgentVoltv1.0.0Published 1y ago1 install
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptBuild a native-feeling list view component for my React Native app
Beforegeneric AI agent
React Native has a built-in FlatList component that works well for rendering lists efficiently. You can render items efficiently by only showing what's visible on screen, which improves performance. For a native feel, you'll want to handle gestures and touch feedback properly throughout your app. Material Design and iOS design have different conventions and standards, so you might need platform-specific styling and logic. Styling in React Native uses a CSS-like syntax that feels familiar. You could use libraries like React Native Paper for pre-built components, but a custom implementation is also doable. Do you want help setting up a basic FlatList? I could walk you through the configuration.
Afterwith Expo Building Native UI Skill
import { FlatList, ListRenderItem, Platform } from 'react-native';
import { Text, View } from 'react-native';
import { GestureHandlerRootView, Swipeable } from 'react-native-gesture-handler';

const NativeListView = () => {
  const renderItem: ListRenderItem<Item> = ({ item }) => (
    <Swipeable
      renderRightActions={() => (
        <View style={styles.swipeAction}>
          <Text>Delete</Text>
        </View>
      )}
    >
      <View style={styles.listItem}>
        <Text style={styles.itemTitle}>{item.title}</Text>
        <Text style={styles.itemSubtitle}>{item.subtitle}</Text>
      </View>
    </Swipeable>
  );

  return (
    <FlatList
      data={items}
      renderItem={renderItem}
      keyExtractor={item => item.id}
      scrollEventThrottle={16}
      removeClippedSubviews={true}
      maxToRenderPerBatch={10}
      updateCellsBatchingPeriod={50}
    />
  );
};

const styles = {
  listItem: {
    paddingHorizontal: 16,
    paddingVertical: Platform.OS === 'ios' ? 12 : 14,
    borderBottomWidth: 1,
    borderBottomColor: '#E5E5E5'
  },
  itemTitle: {
    fontSize: 16,
    fontWeight: '600',
    marginBottom: 4
  }
};

OPTIMIZATION KEYS: Gesture-based swipe requires react-native-gesture-handler. removeClippedSubviews prevents off-screen renders. Platform-specific padding handles Android/iOS density differences. maxToRenderPerBatch caps rendering cost. Avoid inline functions in renderItem.

About this skill


name: expo-building-native-ui-skill description: Use when Official Expo skill for building native feeling UI in Expo apps.

Expo Building Native UI Skill

Provides Claude with Expo specific native UI building conventions and component patterns for React Native apps.

What you get

  • SKILL.md covering Expo native UI building blocks.

Customize your output

  • Adaptable to any Expo managed app structure.

Example output

Native feeling Expo app screens and components.

Best for

React Native and Expo app developers.

SKILL.md preview

SKILL.md
---
name: expo-building-native-ui-skill
description: Use this skill when building native-feeling UI in an Expo or React Native app and Expo-specific component patterns and conventions are needed.
version: 1.0.0
category: Design / Design and Frontend
author: AgentVolt
license: proprietary
tags:
  - design
  - design-and-frontend
  - standard
---

# Expo Building Native UI Skill

Provides Expo-specific native UI conventions so generated React Native screens feel native rather than like a generic cross-platform approximation.

## When to use

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill

More design skills

View all Design skills →