Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Use Shadcn `<Empty>` component
Damian Legawiec10da731ceaf4
diff --git a/packages/admin/src/components/spree/custom-fields/custom-fields-card.tsx b/packages/admin/src/components/spree/custom-fields/custom-fields-card.tsxindex 22d0445324..f4b2236875 100644--- a/packages/admin/src/components/spree/custom-fields/custom-fields-card.tsx+++ b/packages/admin/src/components/spree/custom-fields/custom-fields-card.tsx@@ -1,9 +1,9 @@import type { CustomFieldOwnerType } from '@spree/admin-sdk'import { PencilIcon, TagIcon } from 'lucide-react'import { Fragment, useState } from 'react'-import { EmptyState } from '@/components/spree/empty-state'import { Button } from '@/components/ui/button'import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'+import { Empty, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '@/components/ui/empty'import { Skeleton } from '@/components/ui/skeleton'import { useCustomFieldDefinitions, useCustomFields } from '@/hooks/use-custom-fields'import { CustomFieldsDrawer } from './custom-fields-drawer'@@ -47,12 +47,17 @@ export function CustomFieldsCard({ ownerType, ownerId, resourceLabel }: CustomFi<Skeleton className="h-4 w-1/2" /></div>) : definitions.length === 0 ? (- <EmptyState- compact- icon={<TagIcon />}- title="No custom fields yet"- description="Track structured details like material, fit, or care instructions."- />+ <Empty className="border-0 p-0">+ <EmptyHeader>+ <EmptyMedia variant="icon">+ <TagIcon />+ </EmptyMedia>+ <EmptyTitle>No custom fields yet</EmptyTitle>+ <EmptyDescription>+ Track structured details like material, fit, or care instructions.+ </EmptyDescription>+ </EmptyHeader>+ </Empty>) : (<div className="flex flex-col gap-3"><dl className="grid grid-cols-[minmax(160px,1fr)_2fr] gap-x-4 gap-y-2 text-sm">diff --git a/packages/admin/src/components/spree/custom-fields/custom-fields-drawer.tsx b/packages/admin/src/components/spree/custom-fields/custom-fields-drawer.tsxindex a1af570861..dd2995ea86 100644--- a/packages/admin/src/components/spree/custom-fields/custom-fields-drawer.tsx+++ b/packages/admin/src/components/spree/custom-fields/custom-fields-drawer.tsx@@ -3,8 +3,14 @@ import { ArrowLeftIcon, CheckCircle2Icon, Loader2Icon, PlusIcon } from 'lucide-rimport { type ReactNode, useEffect, useMemo, useState } from 'react'import { useForm } from 'react-hook-form'import { toast } from 'sonner'-import { EmptyState } from '@/components/spree/empty-state'import { Button } from '@/components/ui/button'+import {+ Empty,+ EmptyContent,+ EmptyDescription,+ EmptyHeader,+ EmptyTitle,+} from '@/components/ui/empty'import { Field, FieldLabel } from '@/components/ui/field'import { Sheet, SheetContent, SheetFooter, SheetHeader, SheetTitle } from '@/components/ui/sheet'import { Skeleton } from '@/components/ui/skeleton'@@ -221,16 +227,20 @@ function ValuesView({<><SheetHeader>{header}</SheetHeader><div className="flex-1 overflow-y-auto p-4">- <EmptyState- title={`No custom fields defined for ${resourceLabel}`}- description="Define a custom field to store typed, structured information alongside your records."- action={+ <Empty>+ <EmptyHeader>+ <EmptyTitle>{`No custom fields defined for ${resourceLabel}`}</EmptyTitle>+ <EmptyDescription>+ Define a custom field to store typed, structured information alongside your records.+ </EmptyDescription>+ </EmptyHeader>+ <EmptyContent><Button type="button" size="sm" onClick={onAddDefinition}><PlusIcon className="size-4" />Create definition</Button>- }- />+ </EmptyContent>+ </Empty></div></>)diff --git a/packages/admin/src/components/spree/empty-state.tsx b/packages/admin/src/components/spree/empty-state.tsxdeleted file mode 100644index b8a58e60e4..0000000000--- a/packages/admin/src/components/spree/empty-state.tsx+++ /dev/null@@ -1,38 +0,0 @@-import type { ReactNode } from 'react'--interface EmptyStateProps {- /** Optional icon (lucide-react icon, sized). Rendered above the title in muted color. */- icon?: ReactNode- /** Headline. */- title: ReactNode- /** Smaller helper text below the title. */- description?: ReactNode- /** Action button(s) — typically a "Create…" CTA. */- action?: ReactNode- /** Compact variant for inline use (table rows, cards). Default false. */- compact?: boolean-}--/**- * Empty state placeholder. Replaces `_no_resource_found.html.erb` and the- * inline empty markup currently embedded in `<ResourceTable>`.- *- * Use full variant for page-level emptiness ("This store has no products yet"),- * compact variant for inside cards/tables.- */-export function EmptyState({ icon, title, description, action, compact = false }: EmptyStateProps) {- return (- <div- className={- compact- ? 'flex flex-col items-center justify-center gap-2 py-6 text-center'- : 'flex flex-col items-center justify-center gap-3 py-16 text-center'- }- >- {icon && <div className="text-muted-foreground [&>svg]:size-8">{icon}</div>}- <p className={compact ? 'text-sm font-medium' : 'text-base font-medium'}>{title}</p>- {description && <p className="max-w-md text-sm text-muted-foreground">{description}</p>}- {action && <div className="mt-2">{action}</div>}- </div>- )-}diff --git a/packages/admin/src/components/spree/metadata/metadata-card.tsx b/packages/admin/src/components/spree/metadata/metadata-card.tsxindex 237e2e5fc6..53fbabe37a 100644--- a/packages/admin/src/components/spree/metadata/metadata-card.tsx+++ b/packages/admin/src/components/spree/metadata/metadata-card.tsx@@ -1,7 +1,7 @@import { BracesIcon } from 'lucide-react'import { Fragment } from 'react'-import { EmptyState } from '@/components/spree/empty-state'import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'+import { Empty, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '@/components/ui/empty'interface MetadataCardProps {/**@@ -22,12 +22,17 @@ export function MetadataCard({ metadata }: MetadataCardProps) {</CardHeader><CardContent>{entries.length === 0 ? (- <EmptyState- compact- icon={<BracesIcon />}- title="No metadata"- description="Apps and integrations populate this automatically."- />+ <Empty className="border-0 p-0">+ <EmptyHeader>+ <EmptyMedia variant="icon">+ <BracesIcon />+ </EmptyMedia>+ <EmptyTitle>No metadata</EmptyTitle>+ <EmptyDescription>+ Apps and integrations populate this automatically.+ </EmptyDescription>+ </EmptyHeader>+ </Empty>) : (<dl className="grid grid-cols-[minmax(160px,1fr)_2fr] gap-x-4 gap-y-2 text-sm">{entries.map(([key, value]) => (diff --git a/packages/admin/src/components/spree/resource-table.tsx b/packages/admin/src/components/spree/resource-table.tsxindex b7322e7e49..5b3f4d2ba5 100644--- a/packages/admin/src/components/spree/resource-table.tsx+++ b/packages/admin/src/components/spree/resource-table.tsx@@ -29,7 +29,6 @@ import {import { z } from 'zod/v4'import { type BulkAction, BulkActionBar } from '@/components/spree/bulk-action-bar'import { DragHandle } from '@/components/spree/drag-handle'-import { EmptyState } from '@/components/spree/empty-state'import { TableToolbar } from '@/components/spree/table-toolbar'import { Card, CardContent } from '@/components/ui/card'import { Checkbox } from '@/components/ui/checkbox'@@ -42,6 +41,7 @@ import {TableHeader,TableRow,} from '@/components/ui/data-table'+import { Empty, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '@/components/ui/empty'import { Pagination, type PaginationMeta } from '@/components/ui/pagination'import { useAuth } from '@/hooks/use-auth'import { filtersToRansack } from '@/lib/filters-to-ransack'@@ -419,16 +419,19 @@ export function ResourceTable<T extends Record<string, any>>({<TableEmpty colSpan={visibleColumns.length + 1}>Loading...</TableEmpty>) : rows.length === 0 ? (<TableEmpty colSpan={visibleColumns.length + 1}>- <EmptyState- compact- icon={table.emptyIcon}- title={table.emptyMessage ?? 'No results found'}- description={- deferredSearch || (filters as FilterRule[]).length > 0- ? 'Try adjusting your search or filters'- : undefined- }- />+ <Empty className="border-0 p-0">+ <EmptyHeader>+ {table.emptyIcon && (+ <EmptyMedia variant="icon">{table.emptyIcon}</EmptyMedia>+ )}+ <EmptyTitle>{table.emptyMessage ?? 'No results found'}</EmptyTitle>+ {(deferredSearch || (filters as FilterRule[]).length > 0) && (+ <EmptyDescription>+ Try adjusting your search or filters+ </EmptyDescription>+ )}+ </EmptyHeader>+ </Empty></TableEmpty>) : (rows.map((row) => (@@ -467,16 +470,15 @@ export function ResourceTable<T extends Record<string, any>>({</TableEmpty>) : rows.length === 0 ? (<TableEmpty colSpan={visibleColumns.length + (selectionEnabled ? 1 : 0)}>- <EmptyState- compact- icon={table.emptyIcon}- title={table.emptyMessage ?? 'No results found'}- description={- deferredSearch || (filters as FilterRule[]).length > 0- ? 'Try adjusting your search or filters'- : undefined- }- />+ <Empty className="border-0 p-0">+ <EmptyHeader>+ {table.emptyIcon && <EmptyMedia variant="icon">{table.emptyIcon}</EmptyMedia>}+ <EmptyTitle>{table.emptyMessage ?? 'No results found'}</EmptyTitle>+ {(deferredSearch || (filters as FilterRule[]).length > 0) && (+ <EmptyDescription>Try adjusting your search or filters</EmptyDescription>+ )}+ </EmptyHeader>+ </Empty></TableEmpty>) : (rows.map((row, i) => {diff --git a/packages/admin/src/components/spree/route-error-boundary.tsx b/packages/admin/src/components/spree/route-error-boundary.tsxindex b1f3b39ef7..40a1fadb57 100644--- a/packages/admin/src/components/spree/route-error-boundary.tsx+++ b/packages/admin/src/components/spree/route-error-boundary.tsx@@ -1,7 +1,14 @@import { AlertTriangleIcon, RotateCcwIcon } from 'lucide-react'import { Component, type ReactNode } from 'react'-import { EmptyState } from '@/components/spree/empty-state'import { Button } from '@/components/ui/button'+import {+ Empty,+ EmptyContent,+ EmptyDescription,+ EmptyHeader,+ EmptyMedia,+ EmptyTitle,+} from '@/components/ui/empty'interface ErrorStateProps {/** Headline. Defaults to "Something went wrong". */@@ -31,19 +38,23 @@ export function ErrorState({const message = description ?? error?.message ?? 'An unexpected error occurred. Please try again.'return (- <EmptyState- icon={<AlertTriangleIcon />}- title={title}- description={message}- action={- onRetry && (+ <Empty>+ <EmptyHeader>+ <EmptyMedia variant="icon">+ <AlertTriangleIcon />+ </EmptyMedia>+ <EmptyTitle>{title}</EmptyTitle>+ <EmptyDescription>{message}</EmptyDescription>+ </EmptyHeader>+ {onRetry && (+ <EmptyContent><Button variant="outline" size="sm" onClick={onRetry}><RotateCcwIcon className="size-4" />{retryLabel}</Button>- )- }- />+ </EmptyContent>+ )}+ </Empty>)}diff --git a/packages/admin/src/components/ui/empty.tsx b/packages/admin/src/components/ui/empty.tsxnew file mode 100644index 0000000000..84dce41ef6--- /dev/null+++ b/packages/admin/src/components/ui/empty.tsx@@ -0,0 +1,94 @@+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'++function Empty({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="empty"+ className={cn(+ 'flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance',+ className,+ )}+ {...props}+ />+ )+}++function EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="empty-header"+ className={cn('flex max-w-sm flex-col items-center gap-2', className)}+ {...props}+ />+ )+}++const emptyMediaVariants = cva(+ 'mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0',+ {+ variants: {+ variant: {+ default: 'bg-transparent',+ icon: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4",+ },+ },+ defaultVariants: {+ variant: 'default',+ },+ },+)++function EmptyMedia({+ className,+ variant = 'default',+ ...props+}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>) {+ return (+ <div+ data-slot="empty-icon"+ data-variant={variant}+ className={cn(emptyMediaVariants({ variant, className }))}+ {...props}+ />+ )+}++function EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="empty-title"+ className={cn('cn-font-heading text-sm font-medium tracking-tight', className)}+ {...props}+ />+ )+}++function EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {+ return (+ <div+ data-slot="empty-description"+ className={cn(+ 'text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary',+ className,+ )}+ {...props}+ />+ )+}++function EmptyContent({ className, ...props }: React.ComponentProps<'div'>) {+ return (+ <div+ data-slot="empty-content"+ className={cn(+ 'flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance',+ className,+ )}+ {...props}+ />+ )+}++export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle }diff --git a/packages/admin/src/routes/_authenticated/$storeId/settings/api-keys.tsx b/packages/admin/src/routes/_authenticated/$storeId/settings/api-keys.tsxindex 73322d441c..221f2e4221 100644--- a/packages/admin/src/routes/_authenticated/$storeId/settings/api-keys.tsx+++ b/packages/admin/src/routes/_authenticated/$storeId/settings/api-keys.tsx@@ -14,7 +14,6 @@ import { Controller, useForm } from 'react-hook-form'import { toast } from 'sonner'import { z } from 'zod/v4'import { useConfirm } from '@/components/spree/confirm-dialog'-import { EmptyState } from '@/components/spree/empty-state'import { PageHeader } from '@/components/spree/page-header'import { RelativeTime } from '@/components/spree/relative-time'import { Badge } from '@/components/ui/badge'@@ -45,6 +44,7 @@ import {DropdownMenuSeparator,DropdownMenuTrigger,} from '@/components/ui/dropdown-menu'+import { Empty, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '@/components/ui/empty'import {Field,FieldContent,@@ -187,11 +187,15 @@ function ApiKeyTable({<Skeleton className="h-10 w-full" /></div>) : keys.length === 0 ? (- <EmptyState- icon={<KeyRoundIcon />}- title={`No ${title.toLowerCase()} keys yet`}- description="Create one to get started."- />+ <Empty>+ <EmptyHeader>+ <EmptyMedia variant="icon">+ <KeyRoundIcon />+ </EmptyMedia>+ <EmptyTitle>{`No ${title.toLowerCase()} keys yet`}</EmptyTitle>+ <EmptyDescription>Create one to get started.</EmptyDescription>+ </EmptyHeader>+ </Empty>) : (<Table><TableHeader>diff --git a/packages/admin/src/routes/_authenticated/$storeId/settings/staff.tsx b/packages/admin/src/routes/_authenticated/$storeId/settings/staff.tsxindex 3661b3e0c0..bd24782492 100644--- a/packages/admin/src/routes/_authenticated/$storeId/settings/staff.tsx+++ b/packages/admin/src/routes/_authenticated/$storeId/settings/staff.tsx@@ -15,7 +15,6 @@ import { Controller, useForm } from 'react-hook-form'import { toast } from 'sonner'import { z } from 'zod/v4'import { useConfirm } from '@/components/spree/confirm-dialog'-import { EmptyState } from '@/components/spree/empty-state'import { PageHeader } from '@/components/spree/page-header'import { RelativeTime } from '@/components/spree/relative-time'import { Avatar, AvatarFallback } from '@/components/ui/avatar'@@ -47,6 +46,7 @@ import {DropdownMenuSeparator,DropdownMenuTrigger,} from '@/components/ui/dropdown-menu'+import { Empty, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '@/components/ui/empty'import { Field, FieldLabel } from '@/components/ui/field'import { Input } from '@/components/ui/input'import {@@ -125,11 +125,17 @@ function StaffCard({ staff, loading }: { staff: AdminUser[]; loading: boolean })<Skeleton className="h-10 w-full" /></div>) : staff.length === 0 ? (- <EmptyState- icon={<UsersRoundIcon />}- title="No staff yet"- description="Invite a teammate to give them access to this store."- />+ <Empty>+ <EmptyHeader>+ <EmptyMedia variant="icon">+ <UsersRoundIcon />+ </EmptyMedia>+ <EmptyTitle>No staff yet</EmptyTitle>+ <EmptyDescription>+ Invite a teammate to give them access to this store.+ </EmptyDescription>+ </EmptyHeader>+ </Empty>) : (<Table><TableHeader>diff --git a/packages/admin/src/tables/customer-groups.tsx b/packages/admin/src/tables/customer-groups.tsxindex 7f1a13ded1..a3eb400d1c 100644--- a/packages/admin/src/tables/customer-groups.tsx+++ b/packages/admin/src/tables/customer-groups.tsx@@ -8,7 +8,7 @@ defineTable<CustomerGroup>('customer-groups', {searchParam: 'name_cont',searchPlaceholder: 'Search by name…',defaultSort: { field: 'name', direction: 'asc' },- emptyIcon: <UsersRoundIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <UsersRoundIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No customer groups yet',columns: [{diff --git a/packages/admin/src/tables/customers.tsx b/packages/admin/src/tables/customers.tsxindex b54564f007..6aca957ede 100644--- a/packages/admin/src/tables/customers.tsx+++ b/packages/admin/src/tables/customers.tsx@@ -10,7 +10,7 @@ defineTable('customers', {searchParam: 'search',searchPlaceholder: 'Search by email or name…',defaultSort: { field: 'created_at', direction: 'desc' },- emptyIcon: <UsersIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <UsersIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No customers yet',columns: [{diff --git a/packages/admin/src/tables/option-types.tsx b/packages/admin/src/tables/option-types.tsxindex 9174e0c9c6..d1eb223e02 100644--- a/packages/admin/src/tables/option-types.tsx+++ b/packages/admin/src/tables/option-types.tsx@@ -17,7 +17,7 @@ defineTable<OptionType>('option-types', {searchParam: 'name_cont',searchPlaceholder: 'Search by name…',defaultSort: { field: 'position', direction: 'asc' },- emptyIcon: <ListChecksIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <ListChecksIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No option types yet',columns: [{diff --git a/packages/admin/src/tables/orders.tsx b/packages/admin/src/tables/orders.tsxindex 13aaf6d402..da20ead177 100644--- a/packages/admin/src/tables/orders.tsx+++ b/packages/admin/src/tables/orders.tsx@@ -9,7 +9,7 @@ defineTable('orders', {searchParam: 'multi_search',searchPlaceholder: 'Search orders...',defaultSort: { field: 'completed_at', direction: 'desc' },- emptyIcon: <ShoppingCartIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <ShoppingCartIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No orders found',columns: [{diff --git a/packages/admin/src/tables/payment-methods.tsx b/packages/admin/src/tables/payment-methods.tsxindex c5c0d290bb..c0f0fe0fbd 100644--- a/packages/admin/src/tables/payment-methods.tsx+++ b/packages/admin/src/tables/payment-methods.tsx@@ -9,7 +9,7 @@ defineTable<PaymentMethod>('payment-methods', {searchParam: 'name_cont',searchPlaceholder: 'Search by name…',defaultSort: { field: 'position', direction: 'asc' },- emptyIcon: <CreditCardIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <CreditCardIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No payment methods configured',columns: [{diff --git a/packages/admin/src/tables/products.tsx b/packages/admin/src/tables/products.tsxindex c735bcf3f1..8034195f48 100644--- a/packages/admin/src/tables/products.tsx+++ b/packages/admin/src/tables/products.tsx@@ -10,7 +10,7 @@ defineTable('products', {searchParam: 'multi_search',searchPlaceholder: 'Search products...',defaultSort: { field: 'updated_at', direction: 'desc' },- emptyIcon: <PackageIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <PackageIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No products found',columns: [{diff --git a/packages/admin/src/tables/promotions.tsx b/packages/admin/src/tables/promotions.tsxindex 9d10f161d0..d9714d6748 100644--- a/packages/admin/src/tables/promotions.tsx+++ b/packages/admin/src/tables/promotions.tsx@@ -10,7 +10,7 @@ defineTable<Promotion>('promotions', {searchParam: 'name_cont',searchPlaceholder: 'Search by name…',defaultSort: { field: 'created_at', direction: 'desc' },- emptyIcon: <TagIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <TagIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No promotions yet',columns: [{diff --git a/packages/admin/src/tables/stock-locations.tsx b/packages/admin/src/tables/stock-locations.tsxindex bc0b7804ce..e12d43ece8 100644--- a/packages/admin/src/tables/stock-locations.tsx+++ b/packages/admin/src/tables/stock-locations.tsx@@ -10,7 +10,7 @@ defineTable<StockLocation>('stock-locations', {searchParam: 'name_cont',searchPlaceholder: 'Search by name…',defaultSort: { field: 'name', direction: 'asc' },- emptyIcon: <WarehouseIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <WarehouseIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No stock locations yet',columns: [{diff --git a/packages/admin/src/tables/stock-transfers.tsx b/packages/admin/src/tables/stock-transfers.tsxindex f4844a6a40..2045006e23 100644--- a/packages/admin/src/tables/stock-transfers.tsx+++ b/packages/admin/src/tables/stock-transfers.tsx@@ -10,7 +10,7 @@ defineTable<StockTransfer>('stock-transfers', {searchParam: 'number_cont',searchPlaceholder: 'Search by number or reference…',defaultSort: { field: 'created_at', direction: 'desc' },- emptyIcon: <ArrowLeftRightIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <ArrowLeftRightIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No stock transfers yet',columns: [{diff --git a/packages/admin/src/tables/tax-categories.tsx b/packages/admin/src/tables/tax-categories.tsxindex b91857b237..fdceb350a6 100644--- a/packages/admin/src/tables/tax-categories.tsx+++ b/packages/admin/src/tables/tax-categories.tsx@@ -9,7 +9,7 @@ defineTable<TaxCategory>('tax-categories', {searchParam: 'name_cont',searchPlaceholder: 'Search by name…',defaultSort: { field: 'name', direction: 'asc' },- emptyIcon: <PercentIcon className="size-8 text-muted-foreground/50" />,+ emptyIcon: <PercentIcon className="size-8 text-muted-foreground" />,emptyMessage: 'No tax categories yet',columns: [{