BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motiq/adaptive-safe-zone-grid

Adaptive Safe-Zone Grid

motiq/adaptive-safe-zone-grid
FreeComponent

A content-aware structural grid for hero sections: the grid quiets inside one or many safe areas (via an SVG mask) so foreground copy stays readable, while detail collects toward the frame edges. Optional perspective skew, highlighted cells, and a restrained accent shimmer. Deterministic (SSR-safe), light/dark, reduced-motion-static, forced-colors-safe, offscreen-paused. SVG + CSS only.

Live preview

live · rendered by the registry
Rendered by motiq on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://www.motiq.dev/r/adaptive-safe-zone-grid.json

Source

registry/backgrounds/adaptive-safe-zone-grid.tsxwww.motiq.dev/r/adaptive-safe-zone-grid.json · first 6 KB
1"use client";
2
3import * as React from "react";
4
5import { cn } from "@/lib/utils";
6import {
7 useReducedMotion,
8 useVisibilityPause,
9 resolveComposition,
10 compositionScrimStyle,
11 labelHiddenAt,
12 contentFalloff,
13 type ContentPlacement,
14} from "@/lib/motiq";
15
16/* -------------------------------------------------------------------------- */
17/* Types */
18/* -------------------------------------------------------------------------- */
19
20export interface SafeRect {
21 /** 0–1 left edge of the readable safe area. */
22 x: number;
23 /** 0–1 top edge of the readable safe area. */
24 y: number;
25 /** 0–1 width of the readable safe area. */
26 w: number;
27 /** 0–1 height of the readable safe area. */
28 h: number;
29}
30
31export interface FocalPoint {
32 /** 0–1 horizontal focal position (grid skews toward it under perspective). */
33 x: number;
34 /** 0–1 vertical focal position. */
35 y: number;
36}
37
38export interface HighlightCell {
39 /** Column index (0-based) into the current grid. */
40 col: number;
41 /** Row index (0-based) into the current grid. */
42 row: number;
43}
44
45export interface AdaptiveSafeZoneGridProps
46 extends React.HTMLAttributes<HTMLDivElement> {
47 /**
48 * One or many regions where the grid quiets so foreground content stays readable
49 * (0–1 coords). A single rect reads through the glass scrim like a placement; an
50 * array keeps the multi-zone luminance mask for power users.
51 */
52 safeArea?: SafeRect | SafeRect[];
53 /**
54 * Where the foreground content sits. Derives a protected rect on that side and
55 * reads the copy through a frosted-glass scrim — the grid stays full-bleed and
56 * visible under the copy (softened, not cut away), so there is no hard edge. The
57 * one prop needed for a readable hero. "none" = the raw content-agnostic grid.
58 * An explicit `safeArea` array still keeps the multi-zone luminance-mask behavior.
59 */
60 contentPlacement?: ContentPlacement;
61 /** Extra ramp width (0–1) over which the grid fades back in past the content. */
62 safeAreaPadding?: number;
63 /** How strongly the grid is suppressed behind content (0–1). */
64 safeAreaStrength?: number;
65 /** Where structure concentrates; the perspective skew leans toward it. */
66 focalPoint?: FocalPoint;
67 /** Grid line-count multiplier (~0.4–1.6). */
68 density?: number;
69 /** Overall luminance/opacity of the grid (0–1.4). */
70 intensity?: number;
71// … truncated

What it pulls in

Other registry items

  • https://motiq.dev/r/utils.json
  • https://motiq.dev/r/primitives.json

Files it writes

  • registry/backgrounds/adaptive-safe-zone-grid.tsx

Facts

Registry
motiq
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

Docs on motiq www.motiq.dev RMahammad/motiq on GitHub Raw registry item This item as JSON

More from motiq

All 100 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Activity Streamactivity-streammotiqComponentsFree1 dep
Agent Run Timelineagent-run-timelinemotiqComponentsFree1 dep
AI Response Streamai-response-streammotiqComponentsFree1 dep
Animated Accordionanimated-accordionmotiqComponentsFree2 deps
Animated Buttonanimated-buttonmotiqComponentsFree1 dep
Animated Dialoganimated-dialogmotiqComponentsFree2 deps
Animated Gridanimated-gridmotiqComponentsFree2 deps
Animated Iconsanimated-iconsmotiqComponentsFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex