MCPcopy Create free account

hub / github.com/shadcn-ui/taxonomy / functions

Functions137 in github.com/shadcn-ui/taxonomy

↓ 180 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:6
↓ 11 callersFunctiontoast
({ ...props }: Toast)
components/ui/use-toast.ts:140
↓ 5 callersFunctionabsoluteUrl
(path: string)
lib/utils.ts:19
↓ 5 callersFunctiondispatch
(action: Action)
components/ui/use-toast.ts:131
↓ 5 callersFunctionformatDate
(input: string | number)
lib/utils.ts:10
↓ 5 callersFunctiongetCurrentUser
()
lib/session.ts:5
↓ 3 callersFunctiongetUserSubscriptionPlan
( userId: string )
lib/subscription.ts:7
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
components/ui/use-toast.ts:56
↓ 2 callersFunctionflattenNode
(node)
lib/toc.ts:10
↓ 2 callersFunctiongetDocFromParams
(params)
app/(docs)/docs/[[...slug]]/page.tsx:22
↓ 2 callersFunctiongetGuideFromParams
(params)
app/(docs)/guides/[...slug]/page.tsx:24
↓ 2 callersFunctiongetPageFromParams
(params)
app/(marketing)/[...slug]/page.tsx:19
↓ 2 callersFunctiongetPostFromParams
(params)
app/(marketing)/blog/[...slug]/page.tsx:22
↓ 2 callersFunctiongetTableOfContents
( content: string )
lib/toc.ts:73
↓ 2 callersFunctionverifyCurrentUserHasAccessToPost
(postId: string)
app/api/posts/[postId]/route.ts:83
↓ 1 callersFunctiondeletePost
(postId: string)
components/post-operations.tsx:28
↓ 1 callersFunctiondismiss
()
components/ui/use-toast.ts:148
↓ 1 callersFunctionflatten
(links: { items? }[])
components/pager.tsx:60
↓ 1 callersFunctiongenId
()
components/ui/use-toast.ts:25
↓ 1 callersFunctiongetGitHubStars
()
app/(marketing)/page.tsx:8
↓ 1 callersFunctiongetItems
(node, current)
lib/toc.ts:29
↓ 1 callersFunctiongetPagerForDoc
(doc: Doc)
components/pager.tsx:44
↓ 1 callersFunctiongetPostForUser
(postId: Post["id"], userId: User["id"])
app/(editor)/editor/[postId]/page.tsx:9
↓ 1 callersFunctionreducer
(state: State, action: Action)
components/ui/use-toast.ts:72
↓ 1 callersFunctionuseActiveItem
(itemIds: (string | undefined)[])
components/toc.tsx:40
↓ 1 callersFunctionuseLockBody
()
hooks/use-lock-body.ts:4
↓ 1 callersFunctionuseMounted
()
hooks/use-mounted.ts:3
↓ 1 callersFunctionuseToast
()
components/ui/use-toast.ts:169
FunctionAlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/alert-dialog.tsx:73
FunctionAlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/alert-dialog.tsx:59
FunctionAlertDialogPortal
({ className, children, ...props }: AlertDialogPrimitive.AlertDialogPortalProps)
components/ui/alert-dialog.tsx:13
FunctionAnalytics
()
components/analytics.tsx:5
FunctionAuthLayout
({ children }: AuthLayoutProps)
app/(auth)/layout.tsx:5
FunctionBadge
({ className, variant, ...props }: BadgeProps)
components/ui/badge.tsx:30
FunctionBillingForm
({ subscriptionPlan, className, ...props }: BillingFormProps)
components/billing-form.tsx:25
FunctionBillingPage
()
app/(dashboard)/dashboard/billing/page.tsx:25
FunctionBlogPage
()
app/(marketing)/blog/page.tsx:12
FunctionCalendar
({ className, classNames, showOutsideDays = true, ...props }: CalendarProps)
components/ui/calendar.tsx:12
FunctionCallout
({ children, icon, type = "default", ...props }: CalloutProps)
components/callout.tsx:9
FunctionCardSkeleton
()
components/card-skeleton.tsx:4
FunctionCommandDialog
({ children, ...props }: CommandDialogProps)
components/ui/command.tsx:28
FunctionCommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/command.tsx:129
FunctionContextMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/context-menu.tsx:168
FunctionDELETE
( req: Request, context: z.infer<typeof routeContextSchema> )
app/api/posts/[postId]/route.ts:14
FunctionDashboardBillingLoading
()
app/(dashboard)/dashboard/billing/loading.tsx:5
FunctionDashboardHeader
({ heading, text, children, }: DashboardHeaderProps)
components/header.tsx:7
FunctionDashboardLayout
({ children, }: DashboardLayoutProps)
app/(dashboard)/dashboard/layout.tsx:14
FunctionDashboardLoading
()
app/(dashboard)/dashboard/loading.tsx:6
FunctionDashboardNav
({ items }: DashboardNavProps)
components/nav.tsx:14
FunctionDashboardPage
()
app/(dashboard)/dashboard/page.tsx:16
FunctionDashboardSettingsLoading
()
app/(dashboard)/dashboard/settings/loading.tsx:6
FunctionDashboardShell
({ children, className, ...props }: DashboardShellProps)
components/shell.tsx:7
FunctionDashboardTableOfContents
({ toc }: TocProps)
components/toc.tsx:13
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:79
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:65
FunctionDialogPortal
({ className, children, ...props }: DialogPrimitive.DialogPortalProps)
components/ui/dialog.tsx:13
FunctionDocPage
({ params }: DocPageProps)
app/(docs)/docs/[[...slug]]/page.tsx:83
FunctionDocsLayout
({ children }: DocsLayoutProps)
app/(docs)/layout.tsx:15
FunctionDocsLayout
({ children }: DocsLayoutProps)
app/(docs)/docs/layout.tsx:8
FunctionDocsPageHeader
({ heading, text, className, ...props }: DocsPageHeaderProps)
components/page-header.tsx:8
FunctionDocsPager
({ doc }: DocsPagerProps)
components/pager.tsx:13
FunctionDocsSearch
({ className, ...props }: DocsSearchProps)
components/search.tsx:11
FunctionDocsSidebarNav
({ items }: DocsSidebarNavProps)
components/sidebar-nav.tsx:13
FunctionDocsSidebarNavItems
({ items, pathname, }: DocsSidebarNavItemsProps)
components/sidebar-nav.tsx:37
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/dropdown-menu.tsx:171
FunctionEditor
({ post }: EditorProps)
components/editor.tsx:26
FunctionEditorLayout
({ children }: EditorProps)
app/(editor)/editor/layout.tsx:5
FunctionEditorPage
({ params }: EditorPageProps)
app/(editor)/editor/[postId]/page.tsx:22
FunctionEmptyPlaceholder
({ className, children, ...props }: EmptyPlaceholderProps)
components/empty-placeholder.tsx:8
FunctionGET
(req: Request)
app/api/users/stripe/route.ts:12
FunctionGET
(req: Request)
app/api/og/route.tsx:15
FunctionGET
()
app/api/posts/route.ts:14
FunctionGuidePage
({ params }: GuidePageProps)
app/(docs)/guides/[...slug]/page.tsx:85
FunctionGuidesLayout
({ children }: GuidesLayoutProps)
app/(docs)/guides/layout.tsx:5
FunctionGuidesPage
()
app/(docs)/guides/page.tsx:14
FunctionIndexPage
()
app/(marketing)/page.tsx:35
FunctionLoading
()
app/(editor)/editor/[postId]/loading.tsx:3
FunctionLoginPage
()
app/(auth)/login/page.tsx:14
FunctionMainNav
({ items, children }: MainNavProps)
components/main-nav.tsx:18
FunctionMarketingLayout
({ children, }: MarketingLayoutProps)
app/(marketing)/layout.tsx:13
FunctionMdx
({ code }: MdxProps)
components/mdx-components.tsx:159
FunctionMdxCard
({ href, className, children, disabled, ...props }: CardProps)
components/mdx-card.tsx:10
FunctionMenubarShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/menubar.tsx:203
FunctionMobileNav
({ items, children }: MobileNavProps)
components/mobile-nav.tsx:15
FunctionModeToggle
()
components/mode-toggle.tsx:15
FunctionNotFound
()
app/(editor)/editor/[postId]/not-found.tsx:6
FunctionPATCH
( req: Request, context: z.infer<typeof routeContextSchema> )
app/api/users/[userId]/route.ts:14
FunctionPATCH
( req: Request, context: z.infer<typeof routeContextSchema> )
app/api/posts/[postId]/route.ts:44
FunctionPOST
(req: Request)
app/api/posts/route.ts:41
FunctionPOST
(req: Request)
app/api/webhooks/stripe/route.ts:8
FunctionPagePage
({ params }: PageProps)
app/(marketing)/[...slug]/page.tsx:78
FunctionPostCreateButton
({ className, variant, ...props }: PostCreateButtonProps)
components/post-create-button.tsx:13
FunctionPostItem
({ post }: PostItemProps)
components/post-item.tsx:12
FunctionPostOperations
({ post }: PostOperationsProps)
components/post-operations.tsx:48
FunctionPostPage
({ params }: PostPageProps)
app/(marketing)/blog/[...slug]/page.tsx:86
FunctionPricingPage
()
app/(marketing)/pricing/page.tsx:11
FunctionRegisterPage
()
app/(auth)/register/page.tsx:13
FunctionRootLayout
({ children }: RootLayoutProps)
app/layout.tsx:74
FunctionSettingsPage
()
app/(dashboard)/dashboard/settings/page.tsx:14
FunctionSheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/sheet.tsx:184
next →1–100 of 137, ranked by callers