Isometric 3D Case Shelf Picker
Disc cases lie in an isometric queue; the selected one slides out with a vertical title strip. Dragging browses titles while the background takes a blurred poster color. Pick for me spins the queue and reveals a result. three.js and expo-gl.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "isometric-3d-case-shelf-picker" to this project. The full source is attached at the end of this prompt. Put the files under components/isometric-3d-case-shelf-picker/, 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
- 23 Oct 2026
- License
- Unlimited commercial projects
- Original design
- @BreejeAnadkat 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 dark movie-shelf screen of disc cases seen from a raised angle, lined up in a row of slots. The cases fly in as a chain with motion blur, then the active one slides sideways out of its slot and a title strip slides across its cover. A badge appears over it. Dragging along the shelf moves the queue, cross-fades the title, changes the background colour and moves a pointer along a tick bar. A Pick for me button dims, blurs the title, shows a picking label, rolls the queue with a spring-style slowdown, pauses and reveals the winner. Cases have hinge bands, rims and a transparent edge. Sixty-four public-domain film posters are bundled as covers.
How it's built
The shelf is a three.js scene rendered through expo-gl, with instanced case meshes drawn in one call and a fragment shader that paints hinge, frame and lid details procedurally. The camera is a near-orthographic projection fitted to measured corner points. The scene renders to a texture with depth, then a custom post-pass gives depth of field by gathering from a 44-point spiral, and a velocity-based box blur adds motion blur during the fly-in. A shared core holds a state machine of analytic springs with a fixed-step replay. Poster images load through expo-asset, and icons use react-native-svg.
Good for
- Media, game or book libraries that present items as physical objects on a shelf
- A random-pick feature that spins through a list before landing on one
- Dark collection browsers where depth and focus guide attention
Dependencies
threeexpo-glexpo-assetreact-native-svgreact-native