Liquid Metal Glass Status Card
Silver liquid metal tubes loop, bend and pass behind a dark frosted glass card showing a LIVE pulse, three status rows and a light sweep. Metal, glass and sweep are one procedural SkSL shader with no textures, under React Native views for the text.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "liquid-metal-glass-status-card" to this project. The full source is attached at the end of this prompt. Put the files under components/liquid-metal-glass-status-card/, 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
- @dakshpixelup 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 light gray scene with silver liquid-metal tubes that slowly change shape, a loop, a band passing behind a card and a flared column beneath it. Over this sits a frosted dark blue-gray status card with a header, a LIVE pill with a pulsing ring, and three rows, each with an icon tile, a title and a subtitle, plus a Reorder action. A diagonal band of light sweeps across the card when it is empty. The rows leave and come back in a staggered re-entry. The animation is a six-second loop that returns to its first frame, and the component accepts a width and an optional frozen time.
How it's built
A single SkSL runtime shader draws the background metal and the glass card together. The tubes are fixed curves found by nearest-point lookup on a cubic Bezier, with radius interpolated along the curve and a smooth minimum to blend them, then lit by a studio-style environment function driven by the surface normal. The glass tint, bevel and sweep are added in the same shader. Text, icon tiles and the pulse ring are ordinary views and react-native-svg. Reanimated's frame callback and shared values feed time into the shader uniforms, and the web preview runs the same SkSL through CanvasKit.
Good for
- A dashboard hero or status card over a rich animated backdrop
- Store, fleet or service health summaries with a live indicator
- A reference for liquid-metal shading in a Skia runtime effect
Dependencies
@shopify/react-native-skiareact-native-reanimatedreact-native-svgexpo-fontreact-native