Folder Collections with Swipe-to-Delete
Collections appear as frosted folders with posters peeking out; opening one shows a searchable list of titles, and swiping a row left reveals a red delete action. Three screens of one flow with a glass tab bar, shared between HTML and React Native.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "folder-collections-with-swipe-to-delete" to this project. The full source is attached at the end of this prompt. Put the files under components/folder-collections-with-swipe-to-delete/, 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 ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 24 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @Babayanski_12 on X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
A three-state collections flow for a movie and series library on a dark blue night gradient. The first state is a grid of folder cards with a title, a round add button, a search field, filter pills and a floating glass tab bar, each folder showing poster cards peeking out from behind a frosted front panel. The second state opens one folder into a list of six film rows with thumbnail, title, a year and genre line and a chevron. The third shows the same list with a row swiped left to reveal a dark red delete area, under a sky that has turned to a pale blue horizon. The initial screen is a prop, and rows respond to touch drags.
How it's built
Layout numbers and colors come from one shared JavaScript file, so the web preview and the native component use the same values. A single Skia canvas draws the background and the tab bar glass, using a backdrop blur, a color matrix and soft shadows, with stars placed from a fixed seed. Text, rows and folders are ordinary views, and icons are react-native-svg. Row swipes use PanResponder with the built-in Animated API, and screen changes use LayoutAnimation, so Reanimated is not involved. The component omits the status bar and home indicator.
Good for
- A saved items, watchlist or playlist screen with folder-style groups
- A list where swiping a row exposes a delete action
- A dark app shell with a floating frosted tab bar
Dependencies
@shopify/react-native-skiareact-native-svgreact-native