展示多张图片的组件,支持加载、错误、空状态处理。
npx shadcn@latest add https://codebase.anyask.dev/r/image-group.json
yarn dlx shadcn@latest add https://codebase.anyask.dev/r/image-group.json
pnpm dlx shadcn@latest add https://codebase.anyask.dev/r/image-group.json
bunx shadcn@latest add https://codebase.anyask.dev/r/image-group.json
deno run npm:shadcn@latest npm:add https://codebase.anyask.dev/r/image-group.json
通过 showCount 限制显示的图片数量,超出部分会显示"共 N 张"提示。
showCount
string
-
string[]
number
继承 BoundaryBlock 的其他属性。