Organization
Organization view for the sidebar header: logo, name, and optional tagline. Place inside SidebarHeader (e.g. within SidebarMenuButton asChild + Link).
Installation
Install this component via the shadcn CLI.
npx shadcn@latest add https://baby-baltazar-xi.vercel.app/r/organization.jsonOr install the theme first: npx shadcn@latest add https://baby-baltazar-xi.vercel.app/r/sthlm-theme.json
Preview
Interactive component demo.
ChapterTwoRoyalty Management
Usage
How to use this component in your code.
<SidebarHeader>
<SidebarMenu>
<SidebarMenuItem>
<SidebarMenuButton size="lg" asChild>
<Link href="/">
<Organization
name="Your org"
tagline="Tagline"
logo={<Logo />}
/>
</Link>
</SidebarMenuButton>
</SidebarMenuItem>
</SidebarMenu>
</SidebarHeader>