BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/kokonut-ui/profile-dropdown

Profile Dropdown

kokonut-ui/profile-dropdown
FreeComponent

Menu dropdown with action buttons.

Live preview

live · rendered by the registry
Rendered by kokonut-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://kokonutui.com/r/profile-dropdown.json

Source

/components/kokonutui/profile-dropdown.tsxkokonutui.com/r/profile-dropdown.json · first 6 KB
1"use client";
2
3import { CreditCard, FileText, LogOut, Settings, User } from "lucide-react";
4import Image from "next/image";
5import Link from "next/link";
6import * as React from "react";
7import {
8 DropdownMenu,
9 DropdownMenuContent,
10 DropdownMenuItem,
11 DropdownMenuSeparator,
12 DropdownMenuTrigger,
13} from "@/components/ui/dropdown-menu";
14import { cn } from "@/lib/utils";
15import Gemini from "../icons/gemini";
16
17interface Profile {
18 name: string;
19 email: string;
20 avatar: string;
21 subscription?: string;
22 model?: string;
23}
24
25interface MenuItem {
26 label: string;
27 value?: string;
28 href: string;
29 icon: React.ReactNode;
30 external?: boolean;
31}
32
33const SAMPLE_PROFILE_DATA: Profile = {
34 name: "Eugene An",
35 email: "eugene@kokonutui.com",
36 avatar:
37 "https://ferf1mheo22r9ira.public.blob.vercel-storage.com/profile-mjss82WnWBRO86MHHGxvJ2TVZuyrDv.jpeg",
38 subscription: "PRO",
39 model: "Gemini 2.0 Flash",
40};
41
42interface ProfileDropdownProps extends React.HTMLAttributes<HTMLDivElement> {
43 data?: Profile;
44 showTopbar?: boolean;
45}
46
47export default function ProfileDropdown({
48 data = SAMPLE_PROFILE_DATA,
49 className,
50 ...props
51}: ProfileDropdownProps) {
52 const [isOpen, setIsOpen] = React.useState(false);
53 const menuItems: MenuItem[] = [
54 {
55 label: "Profile",
56 href: "#",
57 icon: <User className="h-4 w-4" />,
58 },
59 {
60 label: "Model",
61 value: data.model,
62 href: "#",
63 icon: <Gemini className="h-4 w-4" />,
64 },
65 {
66 label: "Subscription",
67 value: data.subscription,
68 href: "#",
69 icon: <CreditCard className="h-4 w-4" />,
70 },
71 {
72 label: "Settings",
73 href: "#",
74 icon: <Settings className="h-4 w-4" />,
75 },
76 {
77 label: "Terms & Policies",
78 href: "#",
79 icon: <FileText className="h-4 w-4" />,
80 external: true,
81 },
82 ];
83
84 return (
85 <div className={cn("relative", className)} {...props}>
86 <DropdownMenu onOpenChange={setIsOpen}>
87 <div className="group relative">
88 <DropdownMenuTrigger asChild>
89 <button
90 className="flex items-center gap-16 rounded-2xl border border-zinc-200/60 bg-white p-3 transition-all duration-200 hover:border-zinc-300 hover:bg-zinc-50/80 hover:shadow-sm focus:outline-none dark:border-zinc-800/60 dark:bg-zinc-900 dark:hover:border-zinc-700 dark:hover:bg-zinc-800/40"
91 type="button"
92 >
93 <div className="flex-1 text-left">
94// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • dropdown-menu

Files it writes

  • components/kokonutui/profile-dropdown.tsx
  • components/icons/gemini.tsx

Facts

Registry
kokonut-ui
Type
registry:component
Access
Free
Files written
2
Licence
the repository states none
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

Docs on kokonut-ui kokonutui.com kokonut-labs/kokonutui on GitHub Raw registry item This item as JSON

More from kokonut-ui

All 40 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Action Search Baraction-search-barkokonut-uiComponentsFree2 deps · 2 files
AI Input Searchai-input-searchkokonut-uiComponentsFree1 dep · 2 files
AI State Loadingai-loadingkokonut-uiComponentsFree1 dep
AI Input Selectorai-promptkokonut-uiComponentsFree2 deps · 4 files
AI Text Loadingai-text-loadingkokonut-uiComponentsFree1 dep
AI Voiceai-voicekokonut-uiComponentsFree2 deps
Apple Activity Cardapple-activity-cardkokonut-uiComponentsFree1 dep
Magnet Buttonattract-buttonkokonut-uiComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex