An orbital action ring that blooms outward from the avatar with staggered spring emergence — hover any action and the rest dim, drawing the eye.
Install
Add it to your project
Run this in a project set up for shadcn/ui. It writes the files and installs the npm packages.
First time: connect the Infinity UI registry
- Create a personal token on your Tokens page.
- Put it in
.env.localasINFINITYUI_TOKEN. - Add the registry to
components.json:
{
"registries": {
"@infinityui": {
"url": "https://infinityui.io/r/{name}.json",
"headers": {
"Authorization": "Bearer ${INFINITYUI_TOKEN}"
}
}
}
}Using Claude Code, Codex, Cursor, Lovable or v0? See CLI & MCP for a setup prompt.
npm packages it adds
- motion
Code
import AvatarQuickActions from "@/registry/ruixenui/avatar-quick-actions";
import { MessageCircle, Phone, UserPlus, Video } from "lucide-react";
export default function AvatarQuickActionsDemo() {
return (
<div className="flex items-center justify-center gap-4 py-10">
<AvatarQuickActions
avatarSrc="/avatar-images/avatar-01.jpg"
avatarFallback="JS"
items={[
{ icon: <MessageCircle className="size-3.5" />, label: "Message" },
{ icon: <Phone className="size-3.5" />, label: "Call" },
{ icon: <Video className="size-3.5" />, label: "Video" },
{ icon: <UserPlus className="size-3.5" />, label: "Follow" },
]}
/>
<AvatarQuickActions
avatarSrc="/avatar-images/avatar-03.jpg"
avatarFallback="AC"
size={36}
items={[
{ icon: <MessageCircle className="size-3" />, label: "Chat" },
{ icon: <Phone className="size-3" />, label: "Call" },
{ icon: <UserPlus className="size-3" />, label: "Add" },
]}
/>
</div>
);
}
































