Command Orbit

A premium radial command menu with orbiting actions and physics-based motion.

The CommandOrbit is a sophisticated interaction hub. It features a central trigger that, when clicked, expands a set of secondary actions in a radial pattern with staggered entrance animations.

Preview

Usage

Installation

$ pnpm dlx shadcn add https://klarden.vercel.app/r/command-orbit.json

Basic Example

import { CommandOrbit } from "@/components/command-orbit";

export default function App() {
  return <CommandOrbit radius={80} />;
}

Properties

PropTypeDefaultDescription
actionsOrbitAction[]defaultActionsArray of actions to display in the orbit.
radiusnumber80The distance from the center to the orbiting items.
showLabelsbooleantrueWhether to show tooltips on hover.
classNamestringAdditional CSS classes for the container.