Flicker Grid Features Section
Four feature cards carry fields of small gray squares that brighten in a diagonal sweep, while an image card beside them twinkles with random white cells. Layout stays static; one pure frame(t) function drives both the web and React Native versions.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "flicker-grid-features-section" to this project. The full source is attached at the end of this prompt. Put the files under components/flicker-grid-features-section/, 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
- Web
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 24 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @kevserctk 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 marketing section with thin guide lines, a small label, a two-line headline in black and gray, a dark Try for free button, four feature cards in a two-by-two block, and a tall image card on the right with white text and a Learn more button. Two layers of motion run inside the grid cells. In the feature cards, a diagonal wave of gray squares fades in and out, moving from the upper right toward the lower left and starting card after card. On the image card, a field of thin white grid cells flickers at random, brightest toward the bottom and fading out toward the top. The cycle repeats every five seconds. Everything else is static.
How it's built
A small shared core exposes a pure function of time that returns the state of every cell. Feature-card squares are placed from the right edge on a fixed 75 point grid. Each square pulses on a delay that grows with its row and column, so the wave runs diagonally, and the card start times are staggered. The image-card flicker is a deterministic hash schedule, so each cell has its own period, phase, duration and peak, with about six or seven lit at once. The component renders with plain views and react-native-svg, uses expo-linear-gradient for the edge fades, and runs time from a requestAnimationFrame loop.
Good for
- A features or benefits section on a product landing page
- A background texture for a hero or pricing card that needs quiet motion
- A pattern for animating many small cells without any per-cell animated values
Dependencies
expo-linear-gradientreact-native-svgreact-native