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-orbit-18

Pulse Pair

cellforge/cell-orbit-18
FreeComponent

Mirrored braille dot pairs pulse from top and bottom toward the center, with a connective center-column accent.

Install it

npx shadcn@latest add https://cellforge.dev/r/cell-orbit-18.json

Source

components/ui/cell-orbit-18.tsxcellforge.dev/r/cell-orbit-18.json
1"use client";
2
3import { useMemo } from "react";
4
5import { CellForgeBase } from "@/components/ui/cellforge-core";
6import { useCellForgePhases } from "@/components/ui/cellforge-hooks";
7import { isWithinCircularMask } from "@/components/ui/cellforge-core";
8import { useCyclePhase } from "@/components/ui/cellforge-hooks";
9import { usePrefersReducedMotion } from "@/components/ui/cellforge-hooks";
10import type { DotAnimationResolver, CellForgeCommonProps } from "@/components/ui/cellforge-core";
11
12export type CellOrbit18Props = CellForgeCommonProps;
13
14const BASE_OPACITY = 0.07;
15const MID_OPACITY = 0.33;
16const HIGH_OPACITY = 0.95;
17
18export function CellOrbit18({
19 speed = 1.75,
20 animated = true,
21 hoverAnimated = false,
22 ...rest
23}: CellOrbit18Props) {
24 const reducedMotion = usePrefersReducedMotion();
25 const { phase: matrixPhase, onMouseEnter, onMouseLeave } = useCellForgePhases({
26 animated: Boolean(animated && !reducedMotion),
27 hoverAnimated: Boolean(hoverAnimated && !reducedMotion),
28 speed
29 });
30 const animPhase = useCyclePhase({
31 active: !reducedMotion && matrixPhase !== "idle",
32 cycleMsBase: 1550,
33 speed
34 });
35
36 const resolver = useMemo<DotAnimationResolver>(() => {
37 return ({ row, col, phase }) => {
38 if (!isWithinCircularMask(row, col)) {
39 return { className: "dmx-inactive" };
40 }
41
42 const t = reducedMotion || phase === "idle" ? 0 : Math.floor((animPhase) * 6);
43 const pulseRow = t % 3; // 0..2
44 const topRow = pulseRow;
45 const bottomRow = 4 - pulseRow;
46 const pairCols = [1, 3];
47
48 let opacity = BASE_OPACITY;
49 if ((row === topRow || row === bottomRow) && pairCols.includes(col)) {
50 opacity = HIGH_OPACITY;
51 } else if ((row === topRow || row === bottomRow) && col === 2) {
52 opacity = 0.58;
53 } else if ((row === 2 || col === 2) && pairCols.includes(col) === false) {
54 opacity = MID_OPACITY;
55 } else if (pairCols.includes(col)) {
56 opacity = 0.22;
57 }
58
59 return { style: { opacity } };
60 };
61 }, [reducedMotion, animPhase]);
62
63 return (
64 <CellForgeBase
65 {...rest}
66 size={rest.size ?? 36}
67 dotSize={rest.dotSize ?? 5}
68 speed={speed}
69 pattern="full"
70 animated={animated}
71 phase={matrixPhase}
72 onMouseEnter={onMouseEnter}
73 onMouseLeave={onMouseLeave}
74 reducedMotion={reducedMotion}
75 animationResolver={resolver}
76 />
77 );
78}

Facts

Registry
@cellforge
Type
registry:ui
Access
Free
Files written
0
Licence
MIT
First indexed
2026-08-04
Last confirmed
today

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
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex