Layout e grids
VWidgetCell
`VWidgetCell` é a célula unitária do dashboard: envolve qualquer conteúdo (KPI, gráfico, lista, CTA) com cabeçalho (ícone, título, subtítulo, grip, menu … e fechar ×), área de conteúdo e rodapé (link e metadado).
<script setup lang="ts">
import { VWidgetCell } from 'vueui-nova-kit'
</script>Uso
Escolha variant pelo conteúdo: stat (value, delta, deltaCaption), chart (gráfico no slot padrão), list (items), action (description + actionLabel → action) e placeholder (o tile inteiro vira botão e emite add). Dentro de grades, use stretch para ocupar a célula. menu, closable e draggable mostram os controles do cabeçalho; selectable adiciona um botão de seleção com aria-pressed; loading aplica spinner, shimmer e aria-busy.
<script setup lang="ts">
import { VCardGrid, VWidgetCell } from 'vueui-nova-kit'
import wallet from '@iconify-icons/keyline-icons/wallet'
</script>
<template>
<VCardGrid :min-card-width="260" :gap="4" aria-label="Dashboard">
<VWidgetCell
stretch
title="Receita total"
subtitle="Este mês"
:icon="wallet"
value="R$ 24.780"
delta="+12%"
delta-caption="vs. mês passado"
footer-label="Ver detalhes"
updated-label="Atualizado há 2 min"
menu />
<VWidgetCell stretch variant="placeholder" action-label="Adicionar widget" @add="abrirSeletor" />
</VCardGrid>
</template>Playground
Os controles abaixo são gerados a partir das props declaradas em VWidgetCell.types.ts; o código acompanha cada mudança.
Exemplos
Variantes, tamanhos e estados, extraídos das stories da biblioteca.
Default
Célula stat com ícone, KPI, variação e rodapé. Use Controls para trocar variant, size e os estados.
Ver código
<script setup lang="ts">
import { VWidgetCell } from 'vueui-nova-kit'
const args = {
title: 'Receita total',
subtitle: 'Este mês',
variant: 'stat',
size: 'medium',
value: 'R$ 24.780',
delta: '+12%',
deltaCaption: 'vs. mês passado',
footerLabel: 'Ver detalhes',
updatedLabel: 'Atualizado há 2 min',
menu: true,
selectable: false,
loading: false,
disabled: false
}
const walletIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M5 3L15 3C16.6569 3 18 4.3431 18 6L18 7C19.6569 7 21 8.3431 21 10L21 18C21 19.6569 19.6569 21 18 21L6 21C4.3431 21 3 19.6569 3 18L3 5C3 3.8954 3.8954 3 5 3ZM3 5C3 6.1046 3.8954 7 5 7L18 7M21 12L18 12C16.8954 12 16 12.8954 16 14C16 15.1046 16.8954 16 18 16L21 16\'/>'
}
</script>
<template>
<VWidgetCell v-bind="args" :icon="walletIcon" />
</template>In Context
Quatro células num VCardGrid com stretch: receita (KPI + barras), usuários ativos, atividade recente (lista com avatares) e uma chamada para convidar a equipe com botão de fechar.
Ver código
<script setup lang="ts">
import { VCardGrid, VWidgetCell, VBarChart, VAvatar } from 'vueui-nova-kit'
const walletIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M5 3L15 3C16.6569 3 18 4.3431 18 6L18 7C19.6569 7 21 8.3431 21 10L21 18C21 19.6569 19.6569 21 18 21L6 21C4.3431 21 3 19.6569 3 18L3 5C3 3.8954 3.8954 3 5 3ZM3 5C3 6.1046 3.8954 7 5 7L18 7M21 12L18 12C16.8954 12 16 12.8954 16 14C16 15.1046 16.8954 16 18 16L21 16\'/>'
}
const usersIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M8 14H10C13.3137 14 16 16.6863 16 20C16 20.5523 15.5523 21 15 21H3C2.44772 21 2 20.5523 2 20C2 16.6863 4.68629 14 8 14ZM9 4C10.6569 4 12 5.34315 12 7C12 8.65685 10.6569 10 9 10C7.34315 10 6 8.65685 6 7C6 5.34315 7.34315 4 9 4ZM16 4C17.6569 4 19 5.34315 19 7C19 8.65685 17.6569 10 16 10M18.3333 14.4713C20.554 15.409 22 17.589 22 20C22 20.5523 21.5523 21 21 21\'/>'
}
const clockIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M12 6L12 12L17 12M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2Z\'/>'
}
const sparklesIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M15.4651 9.1794L16.7409 12.4141C16.8933 12.8006 17.1994 13.1067 17.5859 13.2591L20.8206 14.5349C21.0117 14.6102 21.1372 14.7947 21.1372 15C21.1372 15.2053 21.0117 15.3898 20.8206 15.4651L17.5859 16.7409C17.1994 16.8933 16.8933 17.1994 16.7409 17.5859L15.4651 20.8206C15.3898 21.0117 15.2053 21.1372 15 21.1372C14.7947 21.1372 14.6102 21.0117 14.5349 20.8206L13.2591 17.5859C13.1067 17.1994 12.8006 16.8933 12.4141 16.7409L9.1794 15.4651C8.9883 15.3898 8.8628 15.2053 8.8628 15C8.8628 14.7947 8.9883 14.6102 9.1794 14.5349L12.4141 13.2591C12.8006 13.1067 13.1067 12.8006 13.2591 12.4141L14.5349 9.1794C14.6102 8.9883 14.7947 8.8628 15 8.8628C15.2053 8.8628 15.3898 8.9883 15.4651 9.1794ZM6.7151 3.1794L7.2131 4.4419C7.3655 4.8285 7.6715 5.1345 8.0581 5.2869L9.3206 5.7849C9.5117 5.8602 9.6372 6.0447 9.6372 6.25C9.6372 6.4553 9.5117 6.6398 9.3206 6.7151L8.0581 7.2131C7.6715 7.3655 7.3655 7.6715 7.2131 8.0581L6.7151 9.3206C6.6398 9.5117 6.4553 9.6372 6.25 9.6372C6.0447 9.6372 5.8602 9.5117 5.7849 9.3206L5.2869 8.0581C5.1345 7.6715 4.8285 7.3655 4.4419 7.2131L3.1794 6.7151C2.9883 6.6398 2.8628 6.4553 2.8628 6.25C2.8628 6.0447 2.9883 5.8602 3.1794 5.7849L4.4419 5.2869C4.8285 5.1345 5.1345 4.8285 5.2869 4.4419L5.7849 3.1794C5.8602 2.9883 6.0447 2.8628 6.25 2.8628C6.4553 2.8628 6.6398 2.9883 6.7151 3.1794Z\'/>'
}
const sales = [
{
label: 'Seg',
value: 32
},
{
label: 'Ter',
value: 45
},
{
label: 'Qua',
value: 38
},
{
label: 'Qui',
value: 56
},
{
label: 'Sex',
value: 61
},
{
label: 'Sáb',
value: 40
},
{
label: 'Dom',
value: 28
}
]
const activity = [
{
who: 'Olivia Chen',
initials: 'OC',
what: 'Atualizou as configurações',
when: '2 min'
},
{
who: 'Marco Diaz',
initials: 'MD',
what: 'Adicionou um membro',
when: '12 min'
},
{
who: 'Priya Shah',
initials: 'PS',
what: 'Concluiu um marco',
when: '1 h'
}
]
</script>
<template>
<VCardGrid :min-card-width="260" :gap="4" aria-label="Dashboard">
<VWidgetCell stretch size="small" title="Receita total" subtitle="Este mês" :icon="walletIcon" value="R$ 24.780" delta="+12%" menu>
<VBarChart :data="sales" :height="56" aria-label="Receita por dia" />
</VWidgetCell>
<VWidgetCell stretch size="small" title="Usuários ativos" subtitle="Agora" :icon="usersIcon" value="2.419" delta="+8%" delta-caption="nas últimas 24 h" menu footer-label="Ver detalhes" />
<VWidgetCell stretch size="small" variant="list" title="Atividade recente" :icon="clockIcon" menu>
<ul style="list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px">
<li v-for="a in activity" :key="a.who" style="display:flex;align-items:center;gap:8px;font-size:13px">
<VAvatar :initials="a.initials" size="sm" :alt="a.who" />
<span style="flex:1;min-width:0"><strong>{{ a.who }}</strong> <span style="color:var(--v-color-text-muted)">{{ a.what }}</span></span>
<span style="color:var(--v-color-text-muted);font-size:12px">{{ a.when }}</span>
</li>
</ul>
</VWidgetCell>
<VWidgetCell stretch size="small" variant="action" title="Trabalhe em equipe" :icon="sparklesIcon" description="Convide a equipe e produza mais juntos." action-label="Convidar equipe" closable />
</VCardGrid>
</template>Variants
As cinco variantes: stat (KPI e métrica), chart (mini gráfico no slot padrão), list (lista compacta via items), action (chamada com botão) e placeholder (estado vazio de builders; o tile inteiro é um botão que emite add).
Ver código
<script setup lang="ts">
import { VWidgetCell, VBarChart } from 'vueui-nova-kit'
const walletIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M5 3L15 3C16.6569 3 18 4.3431 18 6L18 7C19.6569 7 21 8.3431 21 10L21 18C21 19.6569 19.6569 21 18 21L6 21C4.3431 21 3 19.6569 3 18L3 5C3 3.8954 3.8954 3 5 3ZM3 5C3 6.1046 3.8954 7 5 7L18 7M21 12L18 12C16.8954 12 16 12.8954 16 14C16 15.1046 16.8954 16 18 16L21 16\'/>'
}
const chartIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M3 3L3 19C3 20.1046 3.8954 21 5 21L21 21M7 7L16 7M7 12L13 12M7 17L19 17\'/>'
}
const sendIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M2.7164 7.7054L22 2L16.2946 21.2836C16.0554 22.0918 14.985 22.2598 14.5098 21.5637L9.9303 14.8559C9.7195 14.5471 9.4529 14.2805 9.1441 14.0697L2.4363 9.4902C1.7402 9.015 1.9082 7.9446 2.7164 7.7054ZM9.6113 14.3887L22 2\'/>'
}
const sparklesIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M15.4651 9.1794L16.7409 12.4141C16.8933 12.8006 17.1994 13.1067 17.5859 13.2591L20.8206 14.5349C21.0117 14.6102 21.1372 14.7947 21.1372 15C21.1372 15.2053 21.0117 15.3898 20.8206 15.4651L17.5859 16.7409C17.1994 16.8933 16.8933 17.1994 16.7409 17.5859L15.4651 20.8206C15.3898 21.0117 15.2053 21.1372 15 21.1372C14.7947 21.1372 14.6102 21.0117 14.5349 20.8206L13.2591 17.5859C13.1067 17.1994 12.8006 16.8933 12.4141 16.7409L9.1794 15.4651C8.9883 15.3898 8.8628 15.2053 8.8628 15C8.8628 14.7947 8.9883 14.6102 9.1794 14.5349L12.4141 13.2591C12.8006 13.1067 13.1067 12.8006 13.2591 12.4141L14.5349 9.1794C14.6102 8.9883 14.7947 8.8628 15 8.8628C15.2053 8.8628 15.3898 8.9883 15.4651 9.1794ZM6.7151 3.1794L7.2131 4.4419C7.3655 4.8285 7.6715 5.1345 8.0581 5.2869L9.3206 5.7849C9.5117 5.8602 9.6372 6.0447 9.6372 6.25C9.6372 6.4553 9.5117 6.6398 9.3206 6.7151L8.0581 7.2131C7.6715 7.3655 7.3655 7.6715 7.2131 8.0581L6.7151 9.3206C6.6398 9.5117 6.4553 9.6372 6.25 9.6372C6.0447 9.6372 5.8602 9.5117 5.7849 9.3206L5.2869 8.0581C5.1345 7.6715 4.8285 7.3655 4.4419 7.2131L3.1794 6.7151C2.9883 6.6398 2.8628 6.4553 2.8628 6.25C2.8628 6.0447 2.9883 5.8602 3.1794 5.7849L4.4419 5.2869C4.8285 5.1345 5.1345 4.8285 5.2869 4.4419L5.7849 3.1794C5.8602 2.9883 6.0447 2.8628 6.25 2.8628C6.4553 2.8628 6.6398 2.9883 6.7151 3.1794Z\'/>'
}
const sales = [
{
label: 'Seg',
value: 32
},
{
label: 'Ter',
value: 45
},
{
label: 'Qua',
value: 38
},
{
label: 'Qui',
value: 56
},
{
label: 'Sex',
value: 61
},
{
label: 'Sáb',
value: 40
},
{
label: 'Dom',
value: 28
}
]
const products = [
{
label: 'VueUI Pro',
value: 482
},
{
label: 'Nova Icons',
value: 320
},
{
label: 'UI Templates',
value: 287
}
]
</script>
<template>
<div style="display:flex;flex-wrap:wrap;gap:16px">
<VWidgetCell data-test-id="docs-widget-cell-variant-stat-card" size="small" title="Pedidos" :icon="walletIcon" value="1.284" delta="+12%" />
<VWidgetCell data-test-id="docs-widget-cell-variant-chart-cell" size="small" variant="chart" title="Vendas" subtitle="Esta semana" :icon="chartIcon">
<VBarChart :data="sales" :height="80" aria-label="Vendas por dia" />
</VWidgetCell>
<VWidgetCell data-test-id="docs-widget-cell-variant-list-cell" size="small" variant="list" title="Produtos mais vendidos" :icon="sparklesIcon" :items="products" />
<VWidgetCell data-test-id="docs-widget-cell-variant-action-cell" size="small" variant="action" title="Compartilhar relatório" :icon="sendIcon" description="Envie este dashboard para a equipe." action-label="Compartilhar" />
<VWidgetCell data-test-id="docs-widget-cell-variant-placeholder-cell" size="small" variant="placeholder" action-label="Adicionar widget" description="Escolha um widget para começar." />
</div>
</template>Sizes
Tamanhos de referência: small (280×180), medium (320×220, padrão), large (360×280) e wide (560×220). A largura nunca passa de 100% do container.
Ver código
<script setup lang="ts">
import { VWidgetCell } from 'vueui-nova-kit'
const walletIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M5 3L15 3C16.6569 3 18 4.3431 18 6L18 7C19.6569 7 21 8.3431 21 10L21 18C21 19.6569 19.6569 21 18 21L6 21C4.3431 21 3 19.6569 3 18L3 5C3 3.8954 3.8954 3 5 3ZM3 5C3 6.1046 3.8954 7 5 7L18 7M21 12L18 12C16.8954 12 16 12.8954 16 14C16 15.1046 16.8954 16 18 16L21 16\'/>'
}
const sizes = [
'small',
'medium',
'large',
'wide'
]
</script>
<template>
<div style="display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start">
<VWidgetCell v-for="s in sizes" :key="s" :data-test-id="'docs-widget-cell-size-' + s" :size="s" :title="s" :icon="walletIcon" value="R$ 24.780" delta="+12%" />
</div>
</template>States
Estados: padrão, hover (elevação sutil), foco (anel no :focus-within), selecionada (selectable + v-model:selected; clique na superfície ou use o botão ✓ com aria-pressed), carregando (spinner, shimmer e aria-busy) e desativada.
Ver código
<script setup lang="ts">
import { ref } from 'vue'
import { VWidgetCell } from 'vueui-nova-kit'
const walletIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M5 3L15 3C16.6569 3 18 4.3431 18 6L18 7C19.6569 7 21 8.3431 21 10L21 18C21 19.6569 19.6569 21 18 21L6 21C4.3431 21 3 19.6569 3 18L3 5C3 3.8954 3.8954 3 5 3ZM3 5C3 6.1046 3.8954 7 5 7L18 7M21 12L18 12C16.8954 12 16 12.8954 16 14C16 15.1046 16.8954 16 18 16L21 16\'/>'
}
const selected = ref(true)
const other = ref(false)
</script>
<template>
<div style="display:flex;flex-wrap:wrap;gap:16px">
<VWidgetCell data-test-id="docs-widget-cell-state-default" size="small" title="Padrão" :icon="walletIcon" value="1.284" />
<VWidgetCell data-test-id="docs-widget-cell-state-hover" size="small" title="Selecionável" :icon="walletIcon" value="1.284" selectable v-model:selected="other" />
<VWidgetCell data-test-id="docs-widget-cell-state-selected" size="small" title="Selecionada" :icon="walletIcon" value="1.284" selectable v-model:selected="selected" />
<VWidgetCell data-test-id="docs-widget-cell-state-loading" size="small" title="Carregando" :icon="walletIcon" value="1.284" loading />
<VWidgetCell data-test-id="docs-widget-cell-state-disabled" size="small" title="Desativada" :icon="walletIcon" value="1.284" disabled />
</div>
</template>Builder
Modo builder: draggable mostra o grip, menu o botão …, closable o ×. Fechar remove a célula da lista; o placeholder adiciona uma nova.
Ver código
<script setup lang="ts">
import { ref } from 'vue'
import { VWidgetCell } from 'vueui-nova-kit'
const cells = ref([
{
id: 1,
title: 'Receita'
},
{
id: 2,
title: 'Pedidos'
}
])
const walletIcon = {
width: 24,
height: 24,
body: '<path fill=\'none\' stroke=\'currentColor\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M5 3L15 3C16.6569 3 18 4.3431 18 6L18 7C19.6569 7 21 8.3431 21 10L21 18C21 19.6569 19.6569 21 18 21L6 21C4.3431 21 3 19.6569 3 18L3 5C3 3.8954 3.8954 3 5 3ZM3 5C3 6.1046 3.8954 7 5 7L18 7M21 12L18 12C16.8954 12 16 12.8954 16 14C16 15.1046 16.8954 16 18 16L21 16\'/>'
}
const add = () => cells.value.push({ id: next, title: "Widget " + next++ })
const remove = (id) => cells.value = cells.value.filter((c) => c.id !== id)
</script>
<template>
<div style="display:flex;flex-wrap:wrap;gap:16px">
<VWidgetCell v-for="c in cells" :key="c.id" size="small" :title="c.title" :icon="walletIcon" value="R$ 9.120" draggable menu closable @close="remove(c.id)" />
<VWidgetCell size="small" variant="placeholder" action-label="Adicionar widget" description="Escolha um widget para começar." @add="add" />
</div>
</template>List Cell
Variante list com items.
Ver código
<script setup lang="ts">
import { VWidgetCell } from 'vueui-nova-kit'
const items = [
{ label: 'VueUI Pro', value: 482 },
{ label: 'Nova Icons', value: 320 },
{ label: 'UI Templates', value: 287 },
]
</script>
<template>
<VWidgetCell
title="Produtos mais vendidos"
variant="list"
delta="+12%"
delta-caption="vs. mês passado"
footer-label="Ver detalhes"
updated-label="Atualizado há 2 min"
menu
:items="items" />
</template>Loading
Estado loading: spinner e shimmer sobre o conteúdo, com aria-busy.
Ver código
<script setup lang="ts">
import { VWidgetCell } from 'vueui-nova-kit'
</script>
<template>
<VWidgetCell
title="Receita total"
subtitle="Este mês"
value="R$ 24.780"
delta="+12%"
delta-caption="vs. mês passado"
footer-label="Ver detalhes"
updated-label="Atualizado há 2 min"
menu
loading />
</template>Acessibilidade
- Semantic container (section / article) — usar
<section>/<article>com heading para a célula. - Keyboard accessible (Tab, Enter, Space) — foco e activação por teclado de célula e acções.
- Clear focus indicator — anel de foco visível via
:focus-visible. - Aria labels for interactive actions —
aria-labelem…,×, Share, Invite team, View details. - Supports drag and drop (ARIA) — drag handle com semântica ARIA de DnD + alternativa por teclado.
- Sufficient color contrast — texto, deltas e metas com contraste suficiente.
- Works with screen readers — ordem header → conteúdo → footer anunciada correctamente.
- Responsive and readable content — conteúdo legível e responsivo em qualquer tamanho (Small–Wide).
Props
| Prop | Tipo | Default | Descrição |
|---|---|---|---|
title | string | — | Título do cabeçalho (nome acessível da célula). |
subtitle | string | — | Subtítulo sob o título (ex.: "Este mês"). |
icon | IconifyIcon | — | Ícone do cabeçalho, num tile tingido. |
variant | VWidgetCellVariant | "stat" | Conteúdo: `stat` (KPI), `chart` (mini gráfico no slot), `list` (lista compacta), `action` (CTA) ou `placeholder` (estado vazio de builders). |
size | VWidgetCellSize | "medium" | Tamanho de referência: `small` 280×180, `medium` 320×220, `large` 360×280, `wide` 560×220. |
stretch | boolean | false | Ocupa toda a largura da célula do grid em vez da largura de referência. |
value | string | number | — | Valor do KPI (`variant="stat"`). |
delta | string | number | — | Variação do KPI, ex.: `+12%`. A tendência é inferida do sinal quando `trend` é omitido. |
trend | VWidgetCellTrend | — | — |
deltaCaption | string | — | Texto após a variação (ex.: "vs. mês passado"). |
items | VWidgetCellListItem[] | — | Itens da lista (`variant="list"`). |
description | string | — | Descrição da chamada (`variant="action"` e `placeholder`). |
actionLabel | string | — | Rótulo do botão de ação (`action`) ou do tile de adicionar (`placeholder`). |
footerLabel | string | — | Texto do link do rodapé (ex.: "Ver detalhes"). |
footerHref | string | — | Destino do link do rodapé. Sem `href`, o link vira botão e emite `footer`. |
updatedLabel | string | — | Metadado do rodapé (ex.: "Atualizado há 2 min"). |
draggable | boolean | false | Mostra o grip de arrastar (para builders). |
menu | boolean | false | Mostra o botão de mais ações (…). |
closable | boolean | false | Mostra o botão de fechar (×). |
selectable | boolean | false | Permite selecionar a célula (clique na superfície ou botão de seleção com `aria-pressed`). |
selected | boolean | false | Estado selecionado (`v-model:selected`). |
loading | boolean | false | Carregando novos dados: spinner, shimmer e `aria-busy`. |
disabled | boolean | false | Desativa a célula. |
ariaLabel | string | — | Nome acessível quando não há título. |
Events
| Evento | Payload | Descrição |
|---|---|---|
@update:selected | selected: boolean | — |
@menu | event: MouseEvent | Botão de mais ações (…). |
@close | — | Botão de fechar (×). |
@action | — | Botão de ação (`variant="action"`). |
@add | — | Tile de adicionar (`variant="placeholder"`). |
@footer | — | Link do rodapé sem `footerHref`. |
Slots
| Slot | Props do slot |
|---|---|
#header | — |
#actions | — |
#default | — |
#footer | — |
Fonte: src/components/grid/VWidgetCell/VWidgetCell.vue · tipos: src/components/grid/VWidgetCell/VWidgetCell.types.ts