Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/shadcn-ui/taxonomy
/ functions
Functions
137 in github.com/shadcn-ui/taxonomy
⨍
Functions
137
◇
Types & classes
56
↓ 180 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:6
↓ 11 callers
Function
toast
({ ...props }: Toast)
components/ui/use-toast.ts:140
↓ 5 callers
Function
absoluteUrl
(path: string)
lib/utils.ts:19
↓ 5 callers
Function
dispatch
(action: Action)
components/ui/use-toast.ts:131
↓ 5 callers
Function
formatDate
(input: string | number)
lib/utils.ts:10
↓ 5 callers
Function
getCurrentUser
()
lib/session.ts:5
↓ 3 callers
Function
getUserSubscriptionPlan
( userId: string )
lib/subscription.ts:7
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
components/ui/use-toast.ts:56
↓ 2 callers
Function
flattenNode
(node)
lib/toc.ts:10
↓ 2 callers
Function
getDocFromParams
(params)
app/(docs)/docs/[[...slug]]/page.tsx:22
↓ 2 callers
Function
getGuideFromParams
(params)
app/(docs)/guides/[...slug]/page.tsx:24
↓ 2 callers
Function
getPageFromParams
(params)
app/(marketing)/[...slug]/page.tsx:19
↓ 2 callers
Function
getPostFromParams
(params)
app/(marketing)/blog/[...slug]/page.tsx:22
↓ 2 callers
Function
getTableOfContents
( content: string )
lib/toc.ts:73
↓ 2 callers
Function
verifyCurrentUserHasAccessToPost
(postId: string)
app/api/posts/[postId]/route.ts:83
↓ 1 callers
Function
deletePost
(postId: string)
components/post-operations.tsx:28
↓ 1 callers
Function
dismiss
()
components/ui/use-toast.ts:148
↓ 1 callers
Function
flatten
(links: { items? }[])
components/pager.tsx:60
↓ 1 callers
Function
genId
()
components/ui/use-toast.ts:25
↓ 1 callers
Function
getGitHubStars
()
app/(marketing)/page.tsx:8
↓ 1 callers
Function
getItems
(node, current)
lib/toc.ts:29
↓ 1 callers
Function
getPagerForDoc
(doc: Doc)
components/pager.tsx:44
↓ 1 callers
Function
getPostForUser
(postId: Post["id"], userId: User["id"])
app/(editor)/editor/[postId]/page.tsx:9
↓ 1 callers
Function
reducer
(state: State, action: Action)
components/ui/use-toast.ts:72
↓ 1 callers
Function
useActiveItem
(itemIds: (string | undefined)[])
components/toc.tsx:40
↓ 1 callers
Function
useLockBody
()
hooks/use-lock-body.ts:4
↓ 1 callers
Function
useMounted
()
hooks/use-mounted.ts:3
↓ 1 callers
Function
useToast
()
components/ui/use-toast.ts:169
Function
AlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/alert-dialog.tsx:73
Function
AlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/alert-dialog.tsx:59
Function
AlertDialogPortal
({ className, children, ...props }: AlertDialogPrimitive.AlertDialogPortalProps)
components/ui/alert-dialog.tsx:13
Function
Analytics
()
components/analytics.tsx:5
Function
AuthLayout
({ children }: AuthLayoutProps)
app/(auth)/layout.tsx:5
Function
Badge
({ className, variant, ...props }: BadgeProps)
components/ui/badge.tsx:30
Function
BillingForm
({ subscriptionPlan, className, ...props }: BillingFormProps)
components/billing-form.tsx:25
Function
BillingPage
()
app/(dashboard)/dashboard/billing/page.tsx:25
Function
BlogPage
()
app/(marketing)/blog/page.tsx:12
Function
Calendar
({ className, classNames, showOutsideDays = true, ...props }: CalendarProps)
components/ui/calendar.tsx:12
Function
Callout
({ children, icon, type = "default", ...props }: CalloutProps)
components/callout.tsx:9
Function
CardSkeleton
()
components/card-skeleton.tsx:4
Function
CommandDialog
({ children, ...props }: CommandDialogProps)
components/ui/command.tsx:28
Function
CommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/command.tsx:129
Function
ContextMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/context-menu.tsx:168
Function
DELETE
( req: Request, context: z.infer<typeof routeContextSchema> )
app/api/posts/[postId]/route.ts:14
Function
DashboardBillingLoading
()
app/(dashboard)/dashboard/billing/loading.tsx:5
Function
DashboardHeader
({ heading, text, children, }: DashboardHeaderProps)
components/header.tsx:7
Function
DashboardLayout
({ children, }: DashboardLayoutProps)
app/(dashboard)/dashboard/layout.tsx:14
Function
DashboardLoading
()
app/(dashboard)/dashboard/loading.tsx:6
Function
DashboardNav
({ items }: DashboardNavProps)
components/nav.tsx:14
Function
DashboardPage
()
app/(dashboard)/dashboard/page.tsx:16
Function
DashboardSettingsLoading
()
app/(dashboard)/dashboard/settings/loading.tsx:6
Function
DashboardShell
({ children, className, ...props }: DashboardShellProps)
components/shell.tsx:7
Function
DashboardTableOfContents
({ toc }: TocProps)
components/toc.tsx:13
Function
DialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:79
Function
DialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:65
Function
DialogPortal
({ className, children, ...props }: DialogPrimitive.DialogPortalProps)
components/ui/dialog.tsx:13
Function
DocPage
({ params }: DocPageProps)
app/(docs)/docs/[[...slug]]/page.tsx:83
Function
DocsLayout
({ children }: DocsLayoutProps)
app/(docs)/layout.tsx:15
Function
DocsLayout
({ children }: DocsLayoutProps)
app/(docs)/docs/layout.tsx:8
Function
DocsPageHeader
({ heading, text, className, ...props }: DocsPageHeaderProps)
components/page-header.tsx:8
Function
DocsPager
({ doc }: DocsPagerProps)
components/pager.tsx:13
Function
DocsSearch
({ className, ...props }: DocsSearchProps)
components/search.tsx:11
Function
DocsSidebarNav
({ items }: DocsSidebarNavProps)
components/sidebar-nav.tsx:13
Function
DocsSidebarNavItems
({ items, pathname, }: DocsSidebarNavItemsProps)
components/sidebar-nav.tsx:37
Function
DropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/dropdown-menu.tsx:171
Function
Editor
({ post }: EditorProps)
components/editor.tsx:26
Function
EditorLayout
({ children }: EditorProps)
app/(editor)/editor/layout.tsx:5
Function
EditorPage
({ params }: EditorPageProps)
app/(editor)/editor/[postId]/page.tsx:22
Function
EmptyPlaceholder
({ className, children, ...props }: EmptyPlaceholderProps)
components/empty-placeholder.tsx:8
Function
GET
(req: Request)
app/api/users/stripe/route.ts:12
Function
GET
(req: Request)
app/api/og/route.tsx:15
Function
GET
()
app/api/posts/route.ts:14
Function
GuidePage
({ params }: GuidePageProps)
app/(docs)/guides/[...slug]/page.tsx:85
Function
GuidesLayout
({ children }: GuidesLayoutProps)
app/(docs)/guides/layout.tsx:5
Function
GuidesPage
()
app/(docs)/guides/page.tsx:14
Function
IndexPage
()
app/(marketing)/page.tsx:35
Function
Loading
()
app/(editor)/editor/[postId]/loading.tsx:3
Function
LoginPage
()
app/(auth)/login/page.tsx:14
Function
MainNav
({ items, children }: MainNavProps)
components/main-nav.tsx:18
Function
MarketingLayout
({ children, }: MarketingLayoutProps)
app/(marketing)/layout.tsx:13
Function
Mdx
({ code }: MdxProps)
components/mdx-components.tsx:159
Function
MdxCard
({ href, className, children, disabled, ...props }: CardProps)
components/mdx-card.tsx:10
Function
MenubarShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/menubar.tsx:203
Function
MobileNav
({ items, children }: MobileNavProps)
components/mobile-nav.tsx:15
Function
ModeToggle
()
components/mode-toggle.tsx:15
Function
NotFound
()
app/(editor)/editor/[postId]/not-found.tsx:6
Function
PATCH
( req: Request, context: z.infer<typeof routeContextSchema> )
app/api/users/[userId]/route.ts:14
Function
PATCH
( req: Request, context: z.infer<typeof routeContextSchema> )
app/api/posts/[postId]/route.ts:44
Function
POST
(req: Request)
app/api/posts/route.ts:41
Function
POST
(req: Request)
app/api/webhooks/stripe/route.ts:8
Function
PagePage
({ params }: PageProps)
app/(marketing)/[...slug]/page.tsx:78
Function
PostCreateButton
({ className, variant, ...props }: PostCreateButtonProps)
components/post-create-button.tsx:13
Function
PostItem
({ post }: PostItemProps)
components/post-item.tsx:12
Function
PostOperations
({ post }: PostOperationsProps)
components/post-operations.tsx:48
Function
PostPage
({ params }: PostPageProps)
app/(marketing)/blog/[...slug]/page.tsx:86
Function
PricingPage
()
app/(marketing)/pricing/page.tsx:11
Function
RegisterPage
()
app/(auth)/register/page.tsx:13
Function
RootLayout
({ children }: RootLayoutProps)
app/layout.tsx:74
Function
SettingsPage
()
app/(dashboard)/dashboard/settings/page.tsx:14
Function
SheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/sheet.tsx:184
next →
1–100 of 137, ranked by callers