Now In Code
Get access

Dot-Matrix Widgets and Diffuse Gradient Tiles

A dark widget stacks gradient cards above a 5x7 dot-matrix balance, and an orange tile shows a dot-matrix amount with seven bars. Numbers roll like LEDs, bars grow with a bounce, and cards reorder on tap. Shared core for HTML and React Native.

Inspired by a design by @x6sense on XRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "dot-matrix-widgets-diffuse-gradient-tiles" to this project.

The full source is attached at the end of this prompt. Put the files under components/dot-matrix-widgets-diffuse-gradient-tiles/, 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
30 Oct 2026
License
Unlimited commercial projects
Original design
@x6sense on 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

Two dark square widgets with thick rounded rims, set on a blurred gray backdrop. The first holds a stack of two payment cards rising from behind a panel that shows a balance in dot-matrix digits and a plus button. The second shows a weekly bar chart with an arrow button. On entry the cards lift up, the digits roll in like an LED display and the bars grow one after another with a slight overshoot. Tapping a card swaps the front and back, and dragging the panel down stretches with rubber-band resistance, then springs back while the cards fan out. Buttons shrink while pressed and the plus turns a quarter turn.

How it's built

A shared JavaScript core returns a layer tree for any time, with every layer holding its rectangle, rounded clip, transform, SVG primitives and text, using closed-form timelines so any moment can be frozen. The React Native component draws each layer with react-native-svg and Text, with PanResponder for the panel drag, spring motion for the rebound and button presses, and expo-font for the typeface. The dot digits are procedural: each glyph is a small bitmap of circles that rolls row by row. Gradients are ellipses with radial fills.

Good for

  • A wallet or banking home with stacked cards and a balance
  • Home-screen style widgets that show one number or one small chart
  • Numeric displays that should look like an LED or dot panel

Dependencies

react-native-svgexpo-fontreact-native

Tags

ButtonCardCard StackChartDark ModeDragFintech and WalletGradientIconMinimalMorphingNumber RollNumeric DisplayPhysics SimulationPress FeedbackRotationSpring PhysicsStaggered EntranceState Transition

Related