BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ui/project-switcher

Project Switcher

ui-codarise/project-switcher
UnverifiedBlock

A compact project picker for a sidebar / top nav. Combobox trigger shows the current project's avatar + name (or a 'Select Project' fallback); popover opens a searchable Command list of projects with member count + inactive badge, plus a 'View all Projects' action. Renders a loading skeleton while loading and a dashed empty state with a 'Create Project' button when there are no projects. Framework-agnostic and data-driven — no router or project-context coupling. Wire onSelectProject / onViewAllProjects / onCreateProject to your app's navigation + context store. Ported from fe-agentic's Project

Install it

npx shadcn@latest add https://raw.githubusercontent.com/codarise/ui/main/registry/blocks/project-switcher.json
This registry does not serve an item endpoint we could read, so we hold its metadata but not its source.

What it pulls in

npm packages

  • lucide-react

Other registry items

  • codarise/ui/tenant-avatar
  • codarise/ui/badge
  • codarise/ui/button
  • codarise/ui/command
  • codarise/ui/empty
  • codarise/ui/popover
  • codarise/ui/skeleton

Files it writes

  • project-switcher.tsx

Facts

Registry
ui
Type
registry:block
Access
Unverified
Files written
1
Licence
the repository states none
First indexed
2026-08-04
Last confirmed
today

Go to the source

codarise/ui on GitHub Raw registry item This item as JSON

More from ui

All 16 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Bento Cardbento-carduiBlocksUnverifiedno deps
Chat Bubblechat-bubbleuiBlocksUnverifiedno deps
Chat Markerchat-markeruiBlocksUnverifiedno deps
Chat Message Rowchat-message-rowuiBlocksUnverifiedno deps
Domain / Tenant Switcherdomain-tenant-switcheruiBlocksUnverified1 dep · 6 files
Error Stateerror-stateuiBlocksUnverified1 dep
Featured Cardfeatured-carduiBlocksUnverifiedno deps
Loading Stateloading-stateuiBlocksUnverifiedno deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex