# siddhantmani/reactvibe architecture

> Architecture diagram of the GitHub repository siddhantmani/reactvibe, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/siddhantmani/reactvibe
- Repository: https://github.com/siddhantmani/reactvibe

## Overview

React Vibe is a copy-paste catalog of motion-first React components, UI blocks, backgrounds, and dashboard interfaces. The main user-facing path is the landing page into a browsable component collection, with selectable live previews for many entries. The graph preserves the README’s major capability areas and the preview and search registries visible in the source index. Several catalog branches are represented by their existing directories because their implementations were not sampled; those links are documented or indexed relationships, not claims of inspected internals.

Main entry points: [`components/Preview/previewMap.ts`](https://github.com/siddhantmani/reactvibe/blob/main/components/Preview/previewMap.ts) (Preview registry), [`lib/searchable-components.ts`](https://github.com/siddhantmani/reactvibe/blob/main/lib/searchable-components.ts) (Component catalog index), [`app/page.tsx`](https://github.com/siddhantmani/reactvibe/blob/main/app/page.tsx) (Landing page), [`public/Motion`](https://github.com/siddhantmani/reactvibe/tree/main/public/Motion) (Motion patterns)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Site and discovery"]
  node_landing["Landing page<br/>[page.tsx]"]
  node_hero["Landing hero<br/>[VibeHero.tsx]"]
  node_search["Component catalog index"]
end

subgraph group_preview["Preview experience"]
  node_preview_client["Preview selector<br/>[ClientPreview.tsx]"]
  node_preview_registry["Preview registry<br/>[previewMap.ts]"]
  node_preview_frame["Preview wrapper<br/>[PreviewWrapper.tsx]"]
  node_responsive_preview["Resizable preview"]
end

subgraph group_motion["Motion and visuals"]
  node_motion_catalog["Motion patterns"]
  node_backgrounds["Animated backgrounds"]
  node_text_motion["Text motion"]
end

subgraph group_blocks["UI blocks"]
  node_ui_components["Reusable UI components"]
  node_ui_blocks["UI blocks"]
  node_hero_blocks["Hero layouts"]
  node_faq_blocks["FAQ blocks"]
  node_nav_blocks["Navigation blocks"]
end

subgraph group_dashboards["Dashboard systems"]
  node_dashboard_system["Finance dashboard"]
  node_dashboard_ui["Dashboard UI catalog"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_landing
node_landing -->|"renders"| node_hero
node_visitor -.->|"browses"| node_search
node_search -->|"indexes"| node_ui_blocks
node_search -->|"indexes"| node_dashboard_ui
node_search -->|"indexes"| node_hero_blocks
node_preview_client -->|"selects"| node_preview_registry
node_preview_registry -->|"loads previews"| node_motion_catalog
node_preview_registry -->|"loads previews"| node_backgrounds
node_preview_registry -->|"loads preview"| node_dashboard_system
node_preview_registry -->|"loads preview"| node_hero_blocks
node_preview_registry -->|"loads previews"| node_dashboard_ui
node_motion_catalog -->|"renders within"| node_preview_frame
node_visitor -->|"copies source"| node_ui_components
node_visitor -->|"copies source"| node_ui_blocks
node_visitor -->|"copies source"| node_backgrounds
node_visitor -->|"copies source"| node_text_motion
node_visitor -->|"copies source"| node_dashboard_system
node_visitor -.->|"resizes preview"| node_responsive_preview

click node_landing "https://github.com/siddhantmani/reactvibe/blob/main/app/page.tsx"
click node_hero "https://github.com/siddhantmani/reactvibe/blob/main/components/Landing-Page/VibeHero/VibeHero.tsx"
click node_search "https://github.com/siddhantmani/reactvibe/blob/main/lib/searchable-components.ts"
click node_preview_client "https://github.com/siddhantmani/reactvibe/blob/main/components/Preview/ClientPreview.tsx"
click node_preview_registry "https://github.com/siddhantmani/reactvibe/blob/main/components/Preview/previewMap.ts"
click node_preview_frame "https://github.com/siddhantmani/reactvibe/blob/main/components/Preview/PreviewWrapper.tsx"
click node_motion_catalog "https://github.com/siddhantmani/reactvibe/tree/main/public/Motion"
click node_backgrounds "https://github.com/siddhantmani/reactvibe/tree/main/public/Backgrounds"
click node_text_motion "https://github.com/siddhantmani/reactvibe/tree/main/public/Text-Motion"
click node_ui_components "https://github.com/siddhantmani/reactvibe/tree/main/public/Components"
click node_ui_blocks "https://github.com/siddhantmani/reactvibe/tree/main/public/Blocks"
click node_hero_blocks "https://github.com/siddhantmani/reactvibe/tree/main/public/Blocks/Hero"
click node_faq_blocks "https://github.com/siddhantmani/reactvibe/tree/main/public/Blocks/FAQ"
click node_nav_blocks "https://github.com/siddhantmani/reactvibe/tree/main/public/Blocks/Navigation"
click node_dashboard_system "https://github.com/siddhantmani/reactvibe/blob/main/public/Dashboard-Systems/FinanceOverview/FinanceOverview.tsx"
click node_dashboard_ui "https://github.com/siddhantmani/reactvibe/tree/main/public/Dashboard-UI"
click node_responsive_preview "https://github.com/siddhantmani/reactvibe/blob/main/components/ResizablePreview.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_landing,node_hero,node_search toneBlue
class node_preview_client,node_preview_registry,node_preview_frame,node_responsive_preview toneAmber
class node_motion_catalog,node_backgrounds,node_text_motion toneMint
class node_ui_components,node_ui_blocks,node_hero_blocks,node_faq_blocks,node_nav_blocks toneRose
class node_dashboard_system,node_dashboard_ui,node_visitor toneIndigo
```

## Components

### Site and discovery

- [Landing page](https://github.com/siddhantmani/reactvibe/blob/main/app/page.tsx): `app/page.tsx`
- [Landing hero](https://github.com/siddhantmani/reactvibe/blob/main/components/Landing-Page/VibeHero/VibeHero.tsx): `components/Landing-Page/VibeHero/VibeHero.tsx`
- [Component catalog index](https://github.com/siddhantmani/reactvibe/blob/main/lib/searchable-components.ts): `lib/searchable-components.ts`

### Preview experience

- [Preview selector](https://github.com/siddhantmani/reactvibe/blob/main/components/Preview/ClientPreview.tsx): `components/Preview/ClientPreview.tsx`
- [Preview registry](https://github.com/siddhantmani/reactvibe/blob/main/components/Preview/previewMap.ts): `components/Preview/previewMap.ts`
- [Preview wrapper](https://github.com/siddhantmani/reactvibe/blob/main/components/Preview/PreviewWrapper.tsx): `components/Preview/PreviewWrapper.tsx`
- [Resizable preview](https://github.com/siddhantmani/reactvibe/blob/main/components/ResizablePreview.tsx): `components/ResizablePreview.tsx`

### Motion and visuals

- [Motion patterns](https://github.com/siddhantmani/reactvibe/tree/main/public/Motion): `public/Motion`
- [Animated backgrounds](https://github.com/siddhantmani/reactvibe/tree/main/public/Backgrounds): `public/Backgrounds`
- [Text motion](https://github.com/siddhantmani/reactvibe/tree/main/public/Text-Motion): `public/Text-Motion`

### UI blocks

- [Reusable UI components](https://github.com/siddhantmani/reactvibe/tree/main/public/Components): `public/Components`
- [UI blocks](https://github.com/siddhantmani/reactvibe/tree/main/public/Blocks): `public/Blocks`
- [Hero layouts](https://github.com/siddhantmani/reactvibe/tree/main/public/Blocks/Hero): `public/Blocks/Hero`
- [FAQ blocks](https://github.com/siddhantmani/reactvibe/tree/main/public/Blocks/FAQ): `public/Blocks/FAQ`
- [Navigation blocks](https://github.com/siddhantmani/reactvibe/tree/main/public/Blocks/Navigation): `public/Blocks/Navigation`

### Dashboard systems

- [Finance dashboard](https://github.com/siddhantmani/reactvibe/blob/main/public/Dashboard-Systems/FinanceOverview/FinanceOverview.tsx): `public/Dashboard-Systems/FinanceOverview/FinanceOverview.tsx`
- [Dashboard UI catalog](https://github.com/siddhantmani/reactvibe/tree/main/public/Dashboard-UI): `public/Dashboard-UI`

### Other components

- **Visitor**

## Connections

- Visitor → Landing page: opens (evidence: `README.md`)
- Landing page → Landing hero: renders (evidence: `app/page.tsx`)
- Visitor → Component catalog index: browses (evidence: `README.md`)
- Component catalog index → UI blocks: indexes (evidence: `lib/searchable-components.ts`)
- Component catalog index → Dashboard UI catalog: indexes (evidence: `lib/searchable-components.ts`)
- Component catalog index → Hero layouts: indexes (evidence: `lib/searchable-components.ts`)
- Preview selector → Preview registry: selects (evidence: `components/Preview/ClientPreview.tsx`)
- Preview registry → Motion patterns: loads previews (evidence: `components/Preview/previewMap.ts`)
- Preview registry → Animated backgrounds: loads previews (evidence: `components/Preview/previewMap.ts`)
- Preview registry → Finance dashboard: loads preview (evidence: `components/Preview/previewMap.ts`)
- Preview registry → Hero layouts: loads preview (evidence: `components/Preview/previewMap.ts`)
- Preview registry → Dashboard UI catalog: loads previews (evidence: `components/Preview/previewMap.ts`)
- Motion patterns → Preview wrapper: renders within (evidence: `public/Motion/BranchFlow/Preview.tsx`)
- Visitor → Reusable UI components: copies source (evidence: `README.md`)
- Visitor → UI blocks: copies source (evidence: `README.md`)
- Visitor → Animated backgrounds: copies source (evidence: `README.md`)
- Visitor → Text motion: copies source (evidence: `README.md`)
- Visitor → Finance dashboard: copies source (evidence: `README.md`)
- Visitor → Resizable preview: resizes preview
