Components
BaseIconTile
A square tile with an icon, a short text or an image, used in lists, cards and steps.
components/ui/BaseIconTile.vue
View in the demo
Example
1
2
3
R
API
Props
Name | Type | Default | Description |
|---|---|---|---|
icon | string | — | A Lucide icon. |
text | string | — | A short text instead of the icon, such as a step number or an initial. |
image | string | — | An image URL; text is the fallback while it loads. |
color | string | "primary" | A theme colour. |
size | string | number | 40 | The size in pixels. |
icon-size | string | number | — | The icon size. Defaults to half the tile. |
variant | "flat" | "text" | "outlined" | "tonal" | "elevated" | "plain" | "tonal" | The Vuetify variant. |
rounded | string | number | boolean | "lg" | The radius. Keep lg (no circles). |