Expo Router App Store Card Transition logo

Expo Router App Store Card Transition

Community
bidah
expo-router-app-store-card-transition

Build an App Store "Today"-style card that zooms into its own detail/article screen with expo-router's Link.AppleZoom, including the poster card UI (expo-image + blurhash placeholder, caption tinted with the image's own average colour) and the editorial destination screen. Use when adding a card-to-detail zoom transition, an App Store-like poster card, blurhash tinting, Link.AppleZoom / Link.AppleZoomTarget, or a Today-style article screen in an Expo app.

Overview

Publisherbidah
Repositoryskill-set
Skill nameexpo-router-app-store-card-transition
Stars
276
Forks
32
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by bidah on GitHub. Read the source before you install it.

Installation

Install the Expo Router App Store Card Transition AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/bidah/skill-set/tree/main/skills/expo-router-app-store-card-transition
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bidah/skill-set.git /tmp/skill-set
mkdir -p .claude/skills
cp -r /tmp/skill-set/skills/expo-router-app-store-card-transition .claude/skills/expo-router-app-store-card-transition
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Expo Router App Store Card Transition in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Expo Router App Store Card Transition on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Expo Router App Store Card Transition is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

App Store card → article zoom (expo-router)

Three parts that only work as a set: a poster card, the zoom transition, and the article screen it lands on. Working reference implementation: mobile-app/src/components/chat/discover.tsx (card) and mobile-app/src/app/(tabs)/chat/discover/[slug].tsx (destination), with the tint library in mobile-app/src/lib/image-tint.ts.

Requirements

  • expo-router above v55 (this repo runs ~57.0.4, SDK 57) — Link.AppleZoom / Link.AppleZoomTarget don't exist in older routers.
  • expo-image — supplies the blurhash placeholder AND Image.generateBlurhashAsync for the tint.
  • iOS 18+ for the zoom itself. Off iOS (and on older iOS) the components are a passthrough: the press degrades to a plain stack push. Ship it anyway — nothing crashes, Android just pushes.

The transition — rules that are load-bearing

tsx
<Link href={{ pathname: '/discover/[slug]', params: { slug } }} asChild>
  <Pressable onPress={() => Haptics.selectionAsync().catch(() => {})}>
    <Link.AppleZoom>
      <View>{/* the WHOLE card — image + caption — as ONE child */}</View>
    </Link.AppleZoom>
  </Pressable>
</Link>
  1. <Link asChild> is required, not stylistic. The router threads the zoom through the HREF (it rewrites it with a source id the destination reads off its route params). router.push gets no zoom at all, and Link.AppleZoom throws without asChild.
  2. Link.AppleZoom takes exactly ONE child — more than one warns and renders nothing. Wrap the whole card in a single view; the card is what expands.
  3. Destination marks the landing rect with <Link.AppleZoomTarget> around its hero image — otherwise the card expands into the screen as a whole instead of the picture flying into place.
  4. No press-scale wrapper on the card (no BouncyPressable): a press-shrink transform fights the zoom for the same frame — the zoom IS the feedback. A plain Pressable with a selection haptic is enough. (Radix Slot composes handlers, so onPress runs alongside the Link's navigation press.)
  5. Build the card as a small copy of the destination — picture on top, text block below in the picture's own colour — so the zoom has something to land on and the colour continues across the transition.

The card (poster)

expo-image with the picture's own blurhash as placeholder (same crop, so one blurs UP into the other), cross-dissolve transition, caption block filled with the image's tint. Shadow on an outer wrapper; the card body uses overflow: 'hidden' for its corner radius (a clipping view drops its own shadow on iOS). Full code: REFERENCE.md.

The tint — one artefact, two jobs

A blurhash's first component (the DC term, base83 chars 2–6) is the image's average sRGB colour — so one Image.generateBlurhashAsync(uri, [4, 3]) yields the placeholder AND the palette. No native palette extractor, no second decode.

  • Parse the DC term with a ~20-line base83 decode (REFERENCE.md).
  • Mix the raw average 22% toward the page background (raw photo averages are washed mid-tones), then pick white / near-black text by sRGB luma > 0.6.
  • Cache hashes in a module Map + AsyncStorage so the second launch blurs-up before the image downloads. A first sight can't be blurred (hashing needs pixels) — ship a build-time hash (seed) for bundled/known heroes.

The article screen

  • Hero runs under the transparent header: contentInsetAdjustmentBehavior="never" on the ScrollView, Stack.Screen options={{ title: '' }} (the masthead below carries the headline; the bar keeps only chevron + menu).
  • Hero wrapped in Link.AppleZoomTarget, same URI + same useImageTint call as the card — the hash is already in the session cache, so the colour is there on the first frame of the zoom.
  • Tint the masthead only (kicker / title / standfirst). Body copy runs on the app's own page colours — three screens of text on an arbitrary photographic colour is illegible.
  • Editorial type scale, one step up from UI type; lead paragraph opens with a bold foreground-coloured phrase via a nested <Text> so both weights share one flowing line box. Full code: REFERENCE.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Expo Router App Store Card Transition AI skill do?

Build an App Store "Today"-style card that zooms into its own detail/article screen with expo-router's Link.AppleZoom, including the poster card UI (expo-image + blurhash placeholder, caption tinted with the image's own average colour) and the editorial destination screen. Use when adding a card-to-detail zoom transition, an App Store-like poster card, blurhash tinting, Link.AppleZoom / Link.AppleZoomTarget, or a Today-style article screen in an Expo app.

Why use Expo Router App Store Card Transition on TypingMind?

Because you install it once and use it with any model. Expo Router App Store Card Transition is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Expo Router App Store Card Transition in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/bidah/skill-set/tree/main/skills/expo-router-app-store-card-transition. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Expo Router App Store Card Transition?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Expo Router App Store Card Transition?

As many as you like. As long as a model supports skills, you can use Expo Router App Store Card Transition with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Expo Router App Store Card Transition AI skill free?

It is published on GitHub by bidah. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇