Menu
KARACHI, PK · 24.86°N 67.00°E
back to reels
Creative Coding · 17s

Restaurant Floor Plan UI in React Native Skia — Neon Glow + GPU Canvas

A premium restaurant floor plan on a hardware-accelerated Skia GPU canvas — neon ambient glow from BlurMask, responsive coordinate mapping (table.x × FLOOR_W), and 60fps pulse animations via Reanimated shared values. Dark theme.

13 views17s05/22/2026 11:18
▸ Stack
React NativeReact Native SkiaReanimatedTypeScriptExpo
Views
13
Duration
17s
▸ Follow
▸ Write-up

Restaurant Floor Plan UI in React Native Skia 🍽️

Stop building boring grid layouts. Move your architecture to the GPU canvas.

Why Skia

Standard React Native components hit their ceiling fast when you need pixel-perfect spatial layouts with animated neon glows. Skia gives you a hardware-accelerated canvas where every draw call runs on the GPU.

Neon ambient glow

typescript
// Skia BlurMask + Group opacity for the neon table glow
<Group opacity={glowOpacity}>
  <Circle cx={table.x * FLOOR_W} cy={table.y * FLOOR_H} r={TABLE_R + 12}>
    <Paint>
      <BlurMask blur={18} style="outer" />
    </Paint>
  </Circle>
</Group>

Responsive coordinate mapping

typescript
// table.x and table.y are percentages (0–1)
// multiply by canvas dimensions at render time
const cx = table.x * FLOOR_W;
const cy = table.y * FLOOR_H;

This makes the layout scale flawlessly on any screen size without a single pixel value hardcoded.

60fps pulse via Reanimated shared value

The glow opacity pulses using a Reanimated shared value driven by withRepeat(withSequence(...)). Skia reads the shared value directly via useDerivedValue — no bridge calls, no JS thread.

Stack: React Native · @shopify/react-native-skia · Reanimated 3 · TypeScript

LIKE WHAT YOU SEE?

I'm available for freelance & contract React Native work — apps, features, UI implementation, you name it.