Prayani

Radial Orbit

Dashboards

About

Radial navigator: categories sit in fixed places around a centre; open one to fan out its items, select an item to trace its links around the ring.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Radial Orbit to your project and fits it to your theme.

Code

How Radial Orbit is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { RadialOrbit, type OrbitCategory, type OrbitLink } from '@/components/ui/radial-orbit';
import { CalendarRange, GitBranch, Images, Layers, MessageSquareText, Users } from 'lucide-react';
import { useState } from 'react';

const person = (id: string, label: string, role: string, initials: string, avatarColor: string, avatarTextColor: string) => ({
  id,
  label,
  shortLabel: label,
  meta: role,
  shape: 'avatar' as const,
  initials,
  avatarColor,
  avatarTextColor,
});

const categories: OrbitCategory[] = [
  {
    id: 'people',
    label: 'People',
    icon: <Users />,
    items: [
      person('maya', 'Maya Kapoor', 'Creative Director', 'MK', '#FEF0C7', '#B54708'),
      person('arjun', 'Arjun Mehta', 'Art Director', 'AM', '#E0E8FF', '#2F5BEA'),
      person('rhea', 'Rhea Shah', 'Graphic Designer', 'RS', '#FCE7F6', '#C11574'),
      person('kabir', 'Kabir Rao', 'Motion Designer', 'KR', '#CCFBEF', '#0E9384'),
      person('ananya', 'Ananya Sen', 'Copywriter', 'AS', '#EBE9FE', '#6938EF'),
      person('dev', 'Dev Malhotra', 'Marketing Manager', 'DM', '#DCFCE7', '#15803D'),
    ],
  },
  {
    id: 'deliverables',
    label: 'Deliverables',
    icon: <Layers />,
    badge: 2,
    items: [
      { id: 'kv', label: 'Campaign key visual', shortLabel: 'Key visual', meta: 'Arjun · Apr 16', status: 'done' },
      { id: 'carousel', label: 'Instagram carousel', shortLabel: 'IG carousel', meta: 'Rhea · May 14', status: 'review' },
      { id: 'reels', label: 'Instagram reels', shortLabel: 'IG reels', meta: 'Kabir · May 28', status: 'blocked' },
      { id: 'email', label: 'Email campaign', shortLabel: 'Email', meta: 'Ananya · May 26', status: 'active' },
      { id: 'landing', label: 'Landing page', meta: 'Arjun · Jun 4', status: 'active' },
      { id: 'display', label: 'Digital display ads', shortLabel: 'Display ads', meta: 'Rhea · Jun 8', status: 'idle' },
      { id: 'guidelines', label: 'Brand guidelines', meta: 'Maya · May 20', status: 'review' },
    ],
  },
  {
    id: 'milestones',
    label: 'Milestones',
    icon: <CalendarRange />,
    badge: 1,
    items: [
      { id: 'm_kick', label: 'Kickoff', meta: 'Mar 2', status: 'done', shape: 'diamond' },
      { id: 'm_shoot', label: 'Photo shoot', meta: 'Apr 9', status: 'done', shape: 'diamond' },
      { id: 'm_selects', label: 'Final photo selects', shortLabel: 'Final selects', meta: 'May 14 · at risk', status: 'active', shape: 'diamond' },
      { id: 'm_lock', label: 'Content lock', meta: 'May 28', status: 'idle', shape: 'diamond' },
      { id: 'm_final', label: 'Final approvals', meta: 'Jun 8', status: 'idle', shape: 'diamond' },
      { id: 'm_launch', label: 'Launch', meta: 'Jun 15', status: 'idle', shape: 'diamond' },
    ],
  },
  {
    id: 'feedback',
    label: 'Feedback',
    icon: <MessageSquareText />,
    badge: 2,
    items: [
      { id: 'f_kv', label: 'Key visual approval', shortLabel: 'KV approval', meta: 'Resolved', status: 'done' },
      { id: 'f_copy', label: 'Copy deck approval', shortLabel: 'Copy approval', meta: 'Awaiting client', status: 'review' },
      { id: 'f_crop', label: 'Frame 4 crop', meta: 'Changes requested', status: 'blocked' },
      { id: 'f_pace', label: 'Reels pacing', meta: 'Open', status: 'active' },
    ],
  },
  {
    id: 'assets',
    label: 'Assets',
    icon: <Images />,
    items: [
      { id: 'a_photo', label: 'Product photography', shortLabel: 'Product photos', meta: '46 of 60 retouched', status: 'active', shape: 'square' },
      { id: 'a_copy', label: 'Campaign copy deck', shortLabel: 'Copy deck', meta: 'v3', status: 'review', shape: 'square' },
      { id: 'a_kvmaster', label: 'Key visual masters', shortLabel: 'KV masters', meta: 'Final', status: 'done', shape: 'square' },
      { id: 'a_type', label: 'Type and color kit', shortLabel: 'Type kit', meta: 'Final', status: 'done', shape: 'square' },
    ],
  },
  {
    id: 'decisions',
    label: 'Decisions',
    icon: <GitBranch />,
    badge: 2,
    items: [
      { id: 'd_headline', label: 'Headline locked', meta: 'Decided', status: 'done' },
      { id: 'd_gate', label: 'Landing dev gate', meta: 'Blocking', status: 'blocked' },
      { id: 'd_photo', label: 'Reels wait on photos', meta: 'Blocking', status: 'blocked' },
    ],
  },
];

const owns = (owner: string, item: string): OrbitLink => ({ from: owner, to: item, label: 'Owned', reverseLabel: 'Owner' });
const needs = (item: string, prerequisite: string, waiting: boolean): OrbitLink => ({ from: item, to: prerequisite, label: 'Needed first', reverseLabel: 'Waits on this', waiting });

const links: OrbitLink[] = [
  owns('arjun', 'kv'),
  owns('rhea', 'carousel'),
  owns('kabir', 'reels'),
  owns('ananya', 'email'),
  owns('arjun', 'landing'),
  owns('rhea', 'display'),
  owns('maya', 'guidelines'),
  owns('arjun', 'a_photo'),
  owns('ananya', 'a_copy'),
  needs('landing', 'kv', false),
  needs('landing', 'a_copy', true),
  needs('landing', 'f_copy', true),
  needs('reels', 'a_photo', true),
  needs('carousel', 'kv', false),
  needs('display', 'kv', false),
  needs('email', 'a_copy', true),
  { from: 'f_copy', to: 'a_copy', label: 'Subject', reverseLabel: 'Feedback' },
  { from: 'f_crop', to: 'carousel', label: 'Subject', reverseLabel: 'Feedback' },
  { from: 'f_pace', to: 'reels', label: 'Subject', reverseLabel: 'Feedback' },
  { from: 'f_crop', to: 'rhea', label: 'Resolver', reverseLabel: 'To resolve' },
  { from: 'f_copy', to: 'ananya', label: 'Resolver', reverseLabel: 'To resolve' },
  { from: 'm_selects', to: 'reels', label: 'Covered', reverseLabel: 'Milestone' },
  { from: 'm_selects', to: 'a_photo', label: 'Covered', reverseLabel: 'Milestone' },
  { from: 'm_final', to: 'landing', label: 'Covered', reverseLabel: 'Milestone' },
  { from: 'm_launch', to: 'landing', label: 'Covered', reverseLabel: 'Milestone' },
  { from: 'd_gate', to: 'landing', label: 'Affected', reverseLabel: 'Decision' },
  { from: 'd_photo', to: 'reels', label: 'Affected', reverseLabel: 'Decision' },
  { from: 'd_headline', to: 'landing', label: 'Affected', reverseLabel: 'Decision' },
];

export function RadialOrbitDemo() {
  const [selected, setSelected] = useState<string | null>('landing');
  const [expanded, setExpanded] = useState<string | null>('deliverables');
  return (
    <div className="h-[640px] w-full overflow-hidden rounded-xl border border-black/10 dark:border-white/10">
      <RadialOrbit
        center={{ eyebrow: 'Summer Campaign 2027', value: '68%', caption: 'complete · Jun 15', progress: 0.68 }}
        categories={categories}
        links={links}
        expanded={expanded}
        onExpandedChange={setExpanded}
        selected={selected}
        onSelectedChange={setSelected}
      />
    </div>
  );
}

export default RadialOrbitDemo;

More by Prayani

View all
  • Loading Animation

    Loading Animation

    194
  • Mesh Gradient

    Mesh Gradient

    20
  • ASCII Liquid Login

    ASCII Liquid Login

    8
  • Code Rain Reveal

    Code Rain Reveal

More in Dashboards

View all
  • Creator Dashboard

    Creator Dashboard

    90
  • serf dashboard

    serf dashboard

    81
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Glass Dashboard

    Glass Dashboard

    1.1K
  • Glass Smart Home Dashboard

    Glass Smart Home Dashboard

    5
  • Adjustable Glass Dashboard

    Adjustable Glass Dashboard

    1.2K
  • App Dashboard Layout

    App Dashboard Layout

    568
  • Chart Component

    Chart Component

    46