BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/@cellforge/cell-lattice-7

Hourglass Flip

cellforge/cell-lattice-7
FreeComponent

Top and bottom bars squeeze into a bright center hourglass, then flip into side rails and a diamond.

Install it

npx shadcn@latest add https://cellforge.dev/r/cell-lattice-7.json

Source

components/ui/cell-lattice-7.tsxcellforge.dev/r/cell-lattice-7.json · first 6 KB
1"use client";
2
3import type { CSSProperties } from "react";
4
5import { cx } from "@/components/ui/cellforge-core";
6import { resolveDmxColorTokens } from "@/components/ui/cellforge-core";
7import { styleOpacity, stylePx } from "@/components/ui/cellforge-core";
8import { remapOpacityToTriplet } from "@/components/ui/cellforge-core";
9import { dmxBloomRootActive, dmxDotBloomParts } from "@/components/ui/cellforge-core";
10import { getPatternIndexes } from "@/components/ui/cellforge-core";
11import { useCellForgePhases } from "@/components/ui/cellforge-hooks";
12import { usePrefersReducedMotion } from "@/components/ui/cellforge-hooks";
13import { useSteppedCycle } from "@/components/ui/cellforge-hooks";
14import type { CellForgeCommonProps } from "@/components/ui/cellforge-core";
15
16export type CellLattice7Props = CellForgeCommonProps;
17
18const ROW_COUNTS = [3, 4, 5, 4, 3] as const;
19const BASE_OPACITY = 0.2;
20const MID_OPACITY = 0.32;
21const HIGH_OPACITY = 0.98;
22const HEX_ROW_PITCH_RATIO = Math.sqrt(3) / 2;
23
24function hexPatternIndex(row: number, rowCount: number, col: number): number {
25 return row * ROW_COUNTS[2] + Math.floor((ROW_COUNTS[2] - rowCount) / 2) + col;
26}
27
28const FRAMES: readonly Readonly<Record<string, "x" | "o">>[] = [
29 {
30 "0,0": "x",
31 "0,1": "x",
32 "0,2": "x",
33 "1,1": "o",
34 "1,2": "o",
35 "2,2": "x",
36 "3,1": "o",
37 "3,2": "o",
38 "4,0": "x",
39 "4,1": "x",
40 "4,2": "x"
41 },
42 {
43 "0,1": "o",
44 "1,0": "x",
45 "1,1": "x",
46 "1,2": "x",
47 "1,3": "x",
48 "2,2": "o",
49 "3,0": "x",
50 "3,1": "x",
51 "3,2": "x",
52 "3,3": "x",
53 "4,1": "o"
54 },
55 {
56 "0,1": "x",
57 "1,1": "x",
58 "1,2": "x",
59 "2,0": "o",
60 "2,1": "x",
61 "2,2": "x",
62 "2,3": "x",
63 "2,4": "o",
64 "3,1": "x",
65 "3,2": "x",
66 "4,1": "x"
67 },
68 {
69 "0,0": "o",
70 "0,2": "o",
71 "1,0": "x",
72 "1,3": "x",
73 "2,1": "x",
74 "2,2": "o",
75 "2,3": "x",
76 "3,0": "x",
77 "3,3": "x",
78 "4,0": "o",
79 "4,2": "o"
80 }
81];
82
83function clamp01(n: number | undefined) {
84 if (n == null || !Number.isFinite(n)) {
85 return;
86 }
87 return Math.min(1, Math.max(0, n));
88}
89
90export function CellLattice7({
91 size = 34,
92 dotSize = 5,
93 color = "currentColor",
94 colorPreset,
95 ariaLabel = "Loading",
96 className,
97 muted = false,
98 bloom = false,
99 halo = 0,
100 dotClassName,
101 dotShape = "circle",
102 speed = 1.9,
103 animated = true,
104 hoverAnimated = false,
105 pattern = "full",
106 cellPadding,
107 boxSize,
108 minSize,
109 opacityBase,
110 opacityMid,
111 opacityPeak
112// … truncated

Facts

Registry
@cellforge
Type
registry:ui
Access
Free
Files written
0
Licence
MIT
In the index
at or before 2026-08-09
Last confirmed
yesterday

Go to the source

cellforge.dev cellforge-dev/cellforge on GitHub Raw registry item This item as JSON

More from @cellforge

All 71 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
All CellForge Loadersall@cellforgeComponentsFreeno deps
Core Spokescell-angle-1@cellforgeComponentsFreeno deps
Column Rakecell-angle-10@cellforgeComponentsFreeno deps
Shelf Descentcell-angle-11@cellforgeComponentsFreeno deps
Skew Driftcell-angle-12@cellforgeComponentsFreeno deps
Serpent Zipcell-angle-13@cellforgeComponentsFreeno deps
Pillar Sweepcell-angle-14@cellforgeComponentsFreeno deps
Tripod Handoffcell-angle-15@cellforgeComponentsFreeno deps

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