Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arhamkhnz/next-shadcn-admin-dashboard-baseui
/ functions
Functions
682 in github.com/arhamkhnz/next-shadcn-admin-dashboard-baseui
⨍
Functions
682
◇
Types & classes
33
↓ 429 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 25 callers
Function
formatCurrency
( amount: number, opts?: { currency?: string; locale?: string; minimumFractionDigits?: number;
src/lib/utils.ts:22
↓ 16 callers
Function
dt
(day: number, hour: number, min = 0)
src/app/(main)/dashboard/calendar/_components/events-data.ts:6
↓ 16 callers
Function
getInitials
(str: string)
src/lib/utils.ts:8
↓ 15 callers
Function
daysAgo
(days: number)
src/app/(main)/mail/_components/data.tsx:16
↓ 11 callers
Function
useSidebar
()
src/components/ui/sidebar.tsx:47
↓ 9 callers
Function
getNumber
(value: number | string | undefined)
src/app/(main)/dashboard/ecommerce/_components/traffic-sources.tsx:72
↓ 6 callers
Function
findColumnId
(board: BoardState, id: string)
src/app/(main)/dashboard/kanban/_components/utils.ts:8
↓ 6 callers
Function
formatInvoiceCurrency
(value: number)
src/app/(main)/dashboard/invoice/_components/invoice-paper.tsx:135
↓ 5 callers
Function
definePreference
(definition: PreferenceDefinition<Values, Persistence, Attribute>)
src/lib/preferences/preferences-config.ts:39
↓ 5 callers
Function
preventPaginationNavigation
(event: React.MouseEvent<HTMLAnchorElement>)
src/app/(main)/dashboard/tasks/_components/tasks.tsx:41
↓ 4 callers
Function
d
(day: number)
src/app/(main)/dashboard/calendar/_components/events-data.ts:5
↓ 4 callers
Function
formatNoteDate
(date: Date)
src/app/(main)/dashboard/productivity/_components/recent-notes-card.tsx:9
↓ 4 callers
Function
getInvoiceSubtotal
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:157
↓ 4 callers
Function
setColumnSelectFilter
(columnId: string, value: string | null)
src/app/(main)/dashboard/users/_components/users.tsx:75
↓ 4 callers
Function
useCarousel
()
src/components/ui/carousel.tsx:35
↓ 4 callers
Function
useIsMobile
()
src/hooks/use-mobile.ts:5
↓ 4 callers
Function
useMail
()
src/app/(main)/mail/_components/use-mail.ts:21
↓ 3 callers
Function
getInvoiceDiscount
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:171
↓ 3 callers
Function
getLineAmount
(item?: InvoiceLineItem)
src/app/(main)/dashboard/invoice/_components/data.ts:144
↓ 3 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
src/components/ui/chart.tsx:330
↓ 3 callers
Function
isItemActive
(item: NavMainItem)
src/app/(main)/dashboard/_components/sidebar/nav-main.tsx:89
↓ 3 callers
Function
onChange
()
src/hooks/use-lg.ts:10
↓ 3 callers
Function
preventPaginationNavigation
(event: MouseEvent<HTMLAnchorElement>)
src/app/(main)/dashboard/users/_components/users-table.tsx:23
↓ 3 callers
Function
preventPaginationNavigation
(event: React.MouseEvent<HTMLAnchorElement>)
src/app/(main)/dashboard/crm/_components/opportunities-section.tsx:47
↓ 3 callers
Function
preventPaginationNavigation
(event: React.MouseEvent<HTMLAnchorElement>)
src/app/(main)/dashboard/ecommerce/_components/recent-orders-table/formatters.ts:29
↓ 3 callers
Function
usePreferencesStore
(selector: (state: PreferencesState) => T)
src/stores/preferences/preferences-provider.tsx:87
↓ 2 callers
Function
applyPreference
( key: K, value: PreferenceValueMap[K], )
src/lib/preferences/preference-runtime.ts:7
↓ 2 callers
Function
applyThemeMode
(mode: ThemeMode)
src/lib/preferences/theme-utils.ts:11
↓ 2 callers
Function
buildRevenueChartData
(from: Date, to: Date)
src/app/(main)/dashboard/(legacy)/analytics-v1/_components/analytics-overview.tsx:128
↓ 2 callers
Function
createInlineSaveHandler
(header: string)
src/app/(main)/dashboard/(legacy)/default-v1/_components/proposal-sections-table/columns.tsx:248
↓ 2 callers
Function
defineSSRPreference
(definition: PreferenceDefinition<Values, Persistence, Attribute>)
src/lib/preferences/preferences-config.ts:47
↓ 2 callers
Function
getInvoiceItems
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:153
↓ 2 callers
Function
getInvoiceTax
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:165
↓ 2 callers
Function
getInvoiceTaxOption
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:161
↓ 2 callers
Function
getPreference
(key: K)
src/server/server-actions.ts:30
↓ 2 callers
Function
getPreferencePersistence
(key: PreferenceKey)
src/lib/preferences/preferences-config.ts:114
↓ 2 callers
Function
groupRowsByRoleGroup
(rows: RoleTableRow[])
src/app/(main)/dashboard/roles/_components/roles-table/table.tsx:25
↓ 2 callers
Function
handleOpenChange
(value: boolean)
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:96
↓ 2 callers
Function
hasSubItems
(item: NavMainItem)
src/app/(main)/dashboard/_components/sidebar/nav-main.tsx:82
↓ 2 callers
Function
hoursAgo
(hours: number)
src/app/(main)/mail/_components/data.tsx:15
↓ 2 callers
Function
isSubItemActive
(url: string)
src/app/(main)/dashboard/_components/sidebar/nav-main.tsx:97
↓ 2 callers
Function
minutesAgo
(minutes: number)
src/app/(main)/mail/_components/data.tsx:14
↓ 2 callers
Function
parsePreference
( key: K, rawValue: string | null | undefined, )
src/lib/preferences/preferences-config.ts:122
↓ 2 callers
Function
persistPreference
(key: K, value: PreferenceValueMap[K])
src/lib/preferences/preferences-storage.ts:33
↓ 2 callers
Function
projectPoint
(routePoint: RoutePoint)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:98
↓ 2 callers
Function
renderGroups
(items: SearchItem[])
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:111
↓ 2 callers
Function
roundCoordinate
(value: number)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:36
↓ 2 callers
Function
setClientCookie
(key: string, value: string, days = 7)
src/lib/cookie.client.ts:10
↓ 2 callers
Function
subscribeForMode
(mode: PreferenceValueMap["theme_mode"])
src/stores/preferences/preferences-provider.tsx:59
↓ 2 callers
Function
useChart
()
src/components/ui/chart.tsx:32
↓ 2 callers
Function
useChat
()
src/app/(main)/chat/_components/use-chat.ts:21
↓ 2 callers
Function
writeClientCookie
(serializedCookie: string)
src/lib/cookie.client.ts:5
↓ 1 callers
Function
assignPreference
(key: K)
src/stores/preferences/preferences-provider.tsx:31
↓ 1 callers
Function
billingIcon
(billing: string)
src/app/(main)/dashboard/default/_components/recent-customers-table/columns.tsx:13
↓ 1 callers
Function
buildMapGeometry
(shipment: Shipment | null)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:77
↓ 1 callers
Function
createPreferencesStore
(initialValues: Partial<PreferenceValueMap> = {})
src/stores/preferences/preferences-store.ts:21
↓ 1 callers
Function
createRouteLine
(shipment: Shipment)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:40
↓ 1 callers
Function
createSnapshotFrame
(shipment: Shipment)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:47
↓ 1 callers
Function
findTask
(board: BoardState, id: string)
src/app/(main)/dashboard/kanban/_components/utils.ts:13
↓ 1 callers
Function
formatCurrencyTooltipValue
(value: unknown)
src/app/(main)/dashboard/ecommerce/_components/kpi-strip.tsx:84
↓ 1 callers
Function
formatInvoiceCurrency
(value: number)
src/app/(main)/dashboard/invoice/_components/invoice-items.tsx:181
↓ 1 callers
Function
formatMailDate
(date: string)
src/app/(main)/mail/_components/mail-list.tsx:105
↓ 1 callers
Function
formatMonthTick
(value: string)
src/app/(main)/dashboard/ecommerce/_components/kpi-strip.tsx:64
↓ 1 callers
Function
formatOrderCount
(filter: OrderFilter, count: number)
src/app/(main)/dashboard/ecommerce/_components/recent-orders-table/formatters.ts:5
↓ 1 callers
Function
formatOrderDate
(date: string)
src/app/(main)/dashboard/ecommerce/_components/recent-orders-table/columns.tsx:19
↓ 1 callers
Function
formatSelectedOrderCount
(count: number)
src/app/(main)/dashboard/ecommerce/_components/recent-orders-table/formatters.ts:23
↓ 1 callers
Function
formatTooltipCurrency
(value: number | string)
src/app/(main)/dashboard/finance/_components/transactions-overview-card.tsx:61
↓ 1 callers
Function
formatTooltipLabel
(value: string)
src/app/(main)/dashboard/ecommerce/_components/kpi-strip.tsx:72
↓ 1 callers
Function
formatTrafficTooltipLabel
(value: string)
src/app/(main)/dashboard/ecommerce/_components/store-traffic.tsx:140
↓ 1 callers
Function
getAccountColor
(key: BalanceKey)
src/app/(main)/dashboard/finance/_components/balance-distribution-card.tsx:82
↓ 1 callers
Function
getAvailableItems
(items: SearchItem[])
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:66
↓ 1 callers
Function
getAvatarTone
(name: string)
src/app/(main)/dashboard/users/_components/users-columns.tsx:44
↓ 1 callers
Function
getContactLabel
(mode: Shipment["mode"])
src/app/(main)/dashboard/logistics/_components/shipment-details.tsx:44
↓ 1 callers
Function
getGaugeSegmentStatus
(index: number)
src/app/(main)/dashboard/ecommerce/_components/inventory.tsx:17
↓ 1 callers
Function
getHealthScore
(health: OpportunityRow["health"])
src/app/(main)/dashboard/crm/_components/opportunities-table/columns.tsx:19
↓ 1 callers
Function
getInvoiceTotal
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:179
↓ 1 callers
Function
getLastActiveBadge
(lastActive: number)
src/app/(main)/dashboard/users/_components/users-columns.tsx:61
↓ 1 callers
Function
getPageNumbers
(currentPage: number, pageCount: number)
src/app/(main)/dashboard/users/_components/users-table.tsx:27
↓ 1 callers
Function
getPageNumbers
(currentPage: number, pageCount: number)
src/app/(main)/dashboard/tasks/_components/tasks.tsx:45
↓ 1 callers
Function
getProgressRingClass
(status: Shipment["status"])
src/app/(main)/dashboard/logistics/_components/shipment-list.tsx:28
↓ 1 callers
Function
getRoleGroupFilterValue
(typeFilter: string | null)
src/app/(main)/dashboard/roles/_components/roles.tsx:38
↓ 1 callers
Function
getRoleTypeFilter
(groupFilter: string)
src/app/(main)/dashboard/roles/_components/roles.tsx:26
↓ 1 callers
Function
getRollingMonthData
(values: readonly number[])
src/app/(main)/dashboard/crm/_components/pipeline-activity.tsx:28
↓ 1 callers
Function
getRollingRevenueBuckets
()
src/app/(main)/dashboard/ecommerce/_components/kpi-strip.tsx:30
↓ 1 callers
Function
getSubItemGroup
(groupLabel: string | undefined, itemTitle: string)
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:35
↓ 1 callers
Function
getTrafficData
()
src/app/(main)/dashboard/ecommerce/_components/store-traffic.tsx:120
↓ 1 callers
Function
getTransportNumberLabel
(mode: Shipment["mode"])
src/app/(main)/dashboard/logistics/_components/shipment-details.tsx:56
↓ 1 callers
Function
getValueFromCookie
(key: string)
src/server/server-actions.ts:13
↓ 1 callers
Function
groupBy
(items: SearchItem[])
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:72
↓ 1 callers
Function
handleSelect
(item: SearchItem)
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:101
↓ 1 callers
Function
isColumnId
(id: string)
src/app/(main)/dashboard/kanban/_components/utils.ts:4
↓ 1 callers
Function
isSubmenuOpen
(item: NavMainParentItem)
src/app/(main)/dashboard/_components/sidebar/nav-main.tsx:101
↓ 1 callers
Function
loadMap
()
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:138
↓ 1 callers
Function
main
()
src/scripts/generate-theme-presets.ts:110
↓ 1 callers
Function
onFontChange
(value: FontKey | "")
src/app/(main)/dashboard/_components/sidebar/layout-controls.tsx:59
↓ 1 callers
Function
onThemePresetChange
(preset: ThemePreset)
src/app/(main)/dashboard/_components/sidebar/layout-controls.tsx:55
↓ 1 callers
Function
parseDateValue
(value: string)
src/app/(main)/dashboard/invoice/_components/invoice-details.tsx:109
↓ 1 callers
Function
persistByMode
(mode: PreferencePersistence, key: string, value: string)
src/lib/preferences/preferences-storage.ts:14
↓ 1 callers
Function
readDomPreference
(key: K)
src/stores/preferences/preferences-provider.tsx:21
next →
1–100 of 682, ranked by callers