Detail Panel — fixtures
ilinxa/detail-panel-fixturesFreeBlock
Detail Panel plus the dummy-data fixtures used by the docs-site demo.
Install it
npx shadcn@latest add https://ui.ilinxa.com/r/detail-panel-fixtures.jsonSource
1export type DemoEntityKind = "node" | "edge" | "group" | "file";23export interface DemoNode {4 id: string;5 kind: "node";6 label: string;7 nodeType: string;8 pinned: boolean;9 description: string;10 createdAt: string;11}1213export interface DemoEdge {14 id: string;15 kind: "edge";16 label: string;17 source: string;18 target: string;19 weight: number;20}2122export interface DemoGroup {23 id: string;24 kind: "group";25 label: string;26 memberCount: number;27 color: string;28}2930export interface DemoFile {31 id: string;32 kind: "file";33 label: string;34 size: number;35 mime: string;36 uploadedBy: string;37}3839export type DemoEntity = DemoNode | DemoEdge | DemoGroup | DemoFile;4041export const DEMO_ENTITIES: DemoEntity[] = [42 {43 id: "node-rina",44 kind: "node",45 label: "Rina Okafor",46 nodeType: "Person",47 pinned: true,48 description:49 "Engineering lead for the auth-v2 migration. Owns the security-team review queue.",50 createdAt: "2025-11-12",51 },52 {53 id: "node-acme-corp",54 kind: "node",55 label: "Acme Corp",56 nodeType: "Organization",57 pinned: false,58 description: "Pilot customer for the v2 rollout. Multiple feature flags gated on their tenant.",59 createdAt: "2025-09-03",60 },61 {62 id: "edge-rina-acme",63 kind: "edge",64 label: "WORKS_WITH",65 source: "node-rina",66 target: "node-acme-corp",67 weight: 0.82,68 },69 {70 id: "group-security",71 kind: "group",72 label: "Security Team",73 memberCount: 7,74 color: "lime",75 },76 {77 id: "file-runbook",78 kind: "file",79 label: "auth-v2-runbook.md",80 size: 18420,81 mime: "text/markdown",82 uploadedBy: "rina@ilinxa.dev",83 },84];8586export function findEntity(id: string): DemoEntity | undefined {87 return DEMO_ENTITIES.find((e) => e.id === id);88}
What it pulls in
Other registry items
Files it writes
More from ilinxa
All 184 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Account Switcheraccount-switcher | ilinxa | Blocks | Free | 1 dep · 10 files | |
| Account Switcher (deprecated alias)account-switcher-01 | ilinxa | Blocks | Free | no deps | |
| Account Switcher — fixturesaccount-switcher-fixtures | ilinxa | Blocks | Free | no deps | |
| App Sidebarapp-sidebar | ilinxa | Blocks | Free | 1 dep · 37 files | |
| App Sidebar — fixturesapp-sidebar-fixtures | ilinxa | Blocks | Free | no deps | |
| Rich Text Editor (deprecated alias)article-body-01 | ilinxa | Blocks | Free | no deps | |
| Article Metaarticle-meta | ilinxa | Blocks | Free | 1 dep · 4 files | |
| Article Meta (deprecated alias)article-meta-01 | ilinxa | Blocks | Free | no deps |
