Components
BaseViewAllLink
A small “View all” link with an arrow for the header of a card or a section.
components/ui/BaseViewAllLink.vue
View in the demo
Example
Place it in the #actions slot of a BaseCard:
<BaseCard :title="$t('orders.recent')">
<template #actions>
<BaseViewAllLink to="/e-commerce/orders" />
</template>
</BaseCard>
API
It also accepts every prop, slot and event of v-btn, which it passes through.
Props
Name | Type | Default | Description |
|---|---|---|---|
text | string | — | The label. Defaults to actions.viewAll (“View all”). |
It renders a small tertiary BaseButton with an arrow-right icon, so to and href work as on any button.