Now In Code
Get access

Dot-Matrix Stat Card with Glass Pill Bars

A small stat card on a blurred gray-blue and teal field with an orange glow shows average days to pay as a 5×7 dot-matrix number. Below are six pill bars for Jun to Nov, five glass and the last solid white. Number, copy and bar heights are parameters. SVG.

Inspired by a design posted on XRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "dot-matrix-stat-card-with-glass" to this project.

The full source is attached at the end of this prompt. Put the files under components/dot-matrix-stat-card-with-glass/, 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 ===
Pro piece. The prompt includes the full source.Get access

Details

Platforms
iOS, Android, Web
Requires
Expo SDK 54+
Access
Pro
Updated
20 Nov 2026
License
Unlimited commercial projects
Original design
X

Are you the designer? Ask us to change or remove this.

CLI and MCP server Coming soon

Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs

What it does

A static statistics card for a finance dashboard. A softly blurred gray-blue to teal photo-like backdrop carries an orange glow in the middle. On top are a title, a round arrow button in the upper right, a large two-digit number drawn as a 5 by 7 dot matrix, a one-line caption, and six month columns shaped as capsules with labels beneath. The first five columns are frosted glass and the last one is solid white. Digits, caption, bar heights and the highlighted bar are props, and the arrow button reports a tap. Nothing animates.

How it's built

A core module outputs a display list of images, rects, circles, paths and text, and the component maps it node by node onto react-native-svg, scaling to any width. The blurred backdrop is not a photo. It is a smooth color field computed at runtime from Gaussian blobs, encoded as a small PNG, and stretched in an SVG image under a rounded clip. The dot-matrix glyphs come from a lookup table with digits 0 to 9, and the glass columns use a translucent fill with a thin gradient inner stroke. A transparent Pressable sits over the button.

Good for

  • A KPI tile on a finance or invoicing dashboard
  • A hero number with a short month-by-month trend
  • Dark or photographic home screens that need a frosted-style card without a native blur

Dependencies

react-native-svgreact-native

Tags

Data and AnalyticsButtonCardChartDark ModeFintech and WalletGradientLiquid GlassNumeric Display

Related