Skip to content

中文版 AI 姿势参考图库 · 1439 组 / 2878 张图片 / 完整汉化 · 零依赖静态画廊

705 B
Raw Blame
import type { LucideIcon } from 'lucide-react'
import { InboxIcon } from 'lucide-react'

export function EmptyState({ icon: Icon = InboxIcon, title, description }: { icon?: LucideIcon; title: string; description?: string }) {
  return (
    <div className="flex min-h-[320px] flex-col items-center justify-center gap-3 rounded-[22px] bg-muted px-6 py-12 text-center">
      <div className="flex size-12 items-center justify-center rounded-full bg-background/70 text-muted-foreground">
        <Icon className="size-5" />
      </div>
      <div className="text-base font-medium">{title}</div>
      {description && <p className="max-w-sm text-sm text-muted-foreground">{description}</p>}
    </div>
  )
}