Components
BaseMeta
A row of small facts separated by dots, such as “2.4 MB · PDF · Updated today”.
components/ui/BaseMeta.vue
View in the demo
Example
2.4 MB, PDF, Updated todayPRD-005, Updated today
Wrap
By default the row stays on one line and each fact is cut with an ellipsis. With wrap, every fact stays whole and the row breaks onto a new line when it does not fit, carrying its dot with the next fact. Use it in cards and mobile rows, where cutting “18 lessons” to “18 les…” loses the information.
2.4 MB, PDF, Updated today
API
Props
Name | Type | Default | Description |
|---|---|---|---|
itemsrequired | (string | number | null)[] | — | The facts. Empty values are skipped. |
wrap | boolean | false | Keeps each fact whole and lets the row break onto new lines instead of cutting every fact. |
Slots
Name | Slot props | Description |
|---|---|---|
#item | { item: any; index: any; } | Renders one fact; receives item and index. |