Now In Code
Get access

Blurred Chat History Card Scrubber

Holding a handle above the input or swiping sideways blurs the chat and fans out twelve past topics as gradient cards. Picking one shrinks the card and springs the chat back to that topic. Shared core for HTML and React Native.

Inspired by a design by @samdape on XRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "blurred-chat-history-card-scrubber" to this project.

The full source is attached at the end of this prompt. Put the files under components/blurred-chat-history-card-scrubber/, install the listed dependencies with `npx expo install`, and render it on a route I can open.

Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply.

=== Source files are attached here for paid plans ===
Pro piece. The prompt includes the full source.Get access

Details

Platforms
iOS, Android
Requires
Expo SDK 54+
Access
Pro
Updated
14 Oct 2026
License
Unlimited commercial projects
Original design
@samdape on X

Are you the designer? Ask us to change or remove this.

CLI and MCP server Coming soon

Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs

What it does

A chat screen with an assistant avatar, a progressive blur under the top bar and twelve topics laid out in time order. Holding the small history strip above the input, or swiping across the chat, opens a horizontal history: a row of large cards, each a past topic, with the current card full size and the neighbors smaller and translucent, while the chat behind turns to blur. Releasing snaps by velocity. Choosing a card enlarges and fades it, and the chat jumps to that topic and bounces into place from about 200 points above. A final card opens a grid of working and bookmarked items, the chat flips to a dark card, and tapping a grid card morphs into a topic detail page.

How it's built

A shared core module computes layout and transitions, and the component draws with react-native-svg on a requestAnimationFrame loop. Blur and fades come from expo-blur, expo-linear-gradient and a masked view, which is how the progressive blur under the top bar is made. PanResponder and a ScrollView handle the drag, the swipe and the chat scroll. The card-to-detail change interpolates a container rectangle and scales the content to its width, top-aligned and clipped, so it behaves as a shared element. The chat-to-grid flip uses a Y rotation.

Good for

  • Assistant and chat apps that need quick navigation to earlier conversations
  • A timeline scrubber for any long, linear feed
  • Saved or bookmarked item grids that open into a detail page

Dependencies

@react-native-masked-view/masked-viewexpo-blurexpo-linear-gradientreact-native-svgreact-native

Tags

AI AssistantAvatarBlur TransitionCardCarouselChat UIWork and CollaborationDark ModeDragExpand and CollapseGradientLiquid GlassMinimalMorphingSocialSpring PhysicsStaggered EntranceSwipe GestureText Input

Related