Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA feed with For you and Following tabs whose panels swipe sideways, where each panel keeps its own scroll position and the selected tab is remembered while you switch. Use this when a phone feed has two or three views of the same kind of content that people flick between.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it when a phone feed has two or three views of the same kind of content that people flick between.
Do not use it for unrelated sections (use a tab bar) or when switching should be a deliberate choice.
It composes @tealmac/swipe-tabs, which the CLI installs for you.
import { SwipeTabsFeed } from "@/components/swipe-tabs-feed"<SwipeTabsFeed feeds={feeds} />| Prop | Type | Default | Description |
|---|---|---|---|
feeds | { id: string; label: string; posts: Post[] }[] | required | Each tab's posts. |
The pattern ships with a Testing Library test (swipe-tabs-feed.test.tsx) that drives it through roles and the keyboard.