Cylinder Carousel Pickers in Editor Sheet
An iOS edit sheet opens with an animated pattern header (painterly, tides, lattice, nebula or solid) tinted by the chosen color and fading into blurred content. Color and pattern pickers are cylinder carousels with a fixed selection ring and spring snapping.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "cylinder-carousel-pickers-in-editor-sheet" to this project. The full source is attached at the end of this prompt. Put the files under components/cylinder-carousel-pickers-in-editor-sheet/, 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
- 10 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @spottedinprod 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
An editor sheet for creating a category with a live pattern header. The header is an animated pattern in one of five styles: painterly brush strokes, flowing bands, a lattice, a nebula or a flat colour. The pattern takes the chosen colour, fades towards the bottom and shows the blurred content behind. A glass disc in the middle holds a large white symbol, and the name sits in a frosted pill. Below, tapping a symbol swaps the glyph with the old one shrinking and the new one spinning in about the vertical axis. Colour and pattern are chosen from two horizontal carousels with a cylindrical curve that spring to the selection, and a weekday row of seven buttons lights up day by day.
How it's built
The header pattern is one shader function written once and used as GLSL on the web and as SkSL in a Skia runtime effect on native, with a gradient map from the pattern value to the chosen colour. A shared core holds the layout, palettes, timeline, spring and inertia, the cylinder carousel geometry and hit testing. The sheet itself uses Views, expo-blur and a masked view for the blurred scroll area, linear gradients for fades and react-native-svg for icons. A requestAnimationFrame loop drives it. The source video was a single scripted edit, and the demo plays it back.
Good for
- Creating or editing a category, tag, habit or list with an icon, colour and style
- Pickers that curve like a cylinder to hint at more items off screen
- Headers that show a live preview of the item being edited
Dependencies
@shopify/react-native-skiaexpo-blurexpo-linear-gradient@react-native-masked-view/masked-viewreact-native-svgreact-native