Components
BaseTileStack
Overlapping icon tiles with a title and a subtitle, for the items of a record in one table cell.
components/ui/BaseTileStack.vue
View in the demo
Example
+3
Project brief.pdfand 4 more files
The products of an order, the files of a message or the courses of a student in a single cell. Tiles beyond max fold into a "+N" tile (with exactly one more, it shows instead). The orders list and the customer orders table use it through OrderProductStack.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
tilesrequired | BaseStackTile[] | — | The overlapping icon tiles { icon, color?, id? }, such as the products of an order or the files of a message. |
title | string | — | The first line next to the tiles, such as the first product's name. |
subtitle | string | — | The second line, such as "and 2 more products". |
max | number | 2 | How many tiles show before the rest fold into a "+N" tile. With exactly one more, it shows instead of "+1". |
size | number | 32 | The tile size in pixels. |