Skip to content

Feat: Interactive Component Previews with Phone Frame #119

@0x2e73

Description

@0x2e73

Add Interactive React Native Component Previews with iPhone Frame

Description

Implement interactive component previews that render React Native components directly in the browser using react-native-web, displayed within a realistic iPhone frame. This will replace the current video-based previews with fully interactive, touchable component demonstrations.

Goals

  • Replace static video previews with interactive React Native component previews
  • Display previews within a realistic iPhone frame (375x812px) with notch, status bar, and home indicator
  • Components should be fully interactive (clickable buttons, scrollable content, etc.)
  • Preview should work directly in the browser without requiring any external server or playground
  • Support all component variants, sizes, and states

Dependencies

  • react-native-web - Render React Native components in browser
  • react-native-safe-area-context - Safe area handling
  • react-native-gesture-handler - Gesture support
  • nativewind - Tailwind CSS for React Native

Notes

I already have a sample if you want to see it..

Tell me what you think @theoribbi <3

Metadata

Metadata

Assignees

Labels

component:enheancementRequest feature on existing componentdocumentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions