Skip to content

feat: Add a React Native track with six native components and live previews - #11

Merged
kasimkazmi merged 2 commits into
mainfrom
feat/native-react-native-track
Nov 1, 2026
Merged

kasimkazmi merged 2 commits into
mainfrom
feat/native-react-native-track

Conversation

@kasimkazmi

Copy link
Copy Markdown
Owner

Summary

  • Adds a Native category of React Native (Expo) components: Swipe Actions, Snap Sheet, Glide Segments, Swipe Deck, Fan Menu, Pin Pad.
  • Each is a single file that imports only react-native, so installing one adds no packages (npx @modus-ui/cli add <name>); the CLI needed no changes.
  • The registry gains a platform field and the catalogue and MCP carry it. The docs preview native components live through react-native-web (client-only demos in a phone-sized NativeStage that follows the site theme).
  • Tests branch on platform: reduced motion via AccessibilityInfo, a colors prop in place of CSS variables, and no web-only imports. AGENTS.md documents the rules for native components.

Test plan

  • tsc --noEmit, vitest (4,024 tests), next lint clean for the new files
  • CLI and MCP package tests pass
  • Playwright e2e on a production build for all six components (desktop and mobile, reduced motion)
  • Drag, snap-back, dismiss, fan, and correct/wrong PIN checked by hand in the browser
  • Not run in Expo or on a device

Notes

  • swipe-row was already a redirect to glide-ledger-row, so that component is named Swipe Actions.
  • Also commits public/registry/curved-carousel-hero.json, a generated file that was missing from the repo.

🤖 Generated with Claude Code

kasimkazmi and others added 2 commits October 30, 2026 15:59
…previews

Native components are single-file Expo code that import only react-native.
The registry gains a platform field and a Native category, the docs preview
them through react-native-web, and the tests branch on platform for reduced
motion, colors and conventions.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modus-ui Ready Ready Preview Nov 1, 2026 2:10pm UTC

@kasimkazmi
kasimkazmi merged commit 86485ac into main Nov 1, 2026
5 of 6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1e46774d Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant