{
"items": [
{
"imageUrl": "https://picsum.photos/seed/bento6a/600/400",
"title": "Analítica",
"text": "Métricas en tiempo real"
},
{
"imageUrl": "https://picsum.photos/seed/bento6b/600/400",
"title": "Integraciones",
"text": "Conecta con tus herramientas"
},
{
"imageUrl": "https://picsum.photos/seed/bento6c/600/400",
"title": "Seguridad",
"text": "Protección avanzada"
},
{
"imageUrl": "https://picsum.photos/seed/bento6d/600/400",
"title": "Rendimiento",
"text": "Optimizado al máximo"
},
{
"imageUrl": "https://picsum.photos/seed/bento6e/600/400",
"title": "Soporte",
"text": "Equipo 24/7"
},
{
"imageUrl": "https://picsum.photos/seed/bento6f/600/400",
"title": "Escalabilidad",
"text": "Crece sin límites"
}
]
}BentoGridx6.vueGrid tipo bento con 6 celdas y 6 variantes de layout (3 simétricas, 2 asimétricas por filas y 1 con grid-template-areas). Usa BentoCard internamente para cada celda con soporte para imágenes, títulos, textos y CTAs. Responsive: colapsa a columna en móvil.
| Prop | Tipo | Default | Descripción |
|---|---|---|---|
items | BentoItem[] | [] | Array de hasta 6 items con imageUrl, title, text, ctaText, ctaHref y colores opcionales. |
variant | VariantKey | '3y3' | Variante de layout. Opciones: 3y3, 2y4, 4y2, 1y2y3, 3y2y1, 1tall-1wide-2x2. |
gap | string | '0.75rem' | Espacio entre celdas (valor CSS). |
borderRadius | string | '0.75rem' | Border radius de cada celda. |
cardStyle | 'overlay' | 'split' | 'side' | 'overlay' | Estilo visual de las cards: overlay (imagen de fondo), split (imagen arriba, texto abajo) o side (imagen lateral). |
interface BentoItem {
imageUrl?: string // URL de la imagen de fondo
title?: string // Título de la celda
text?: string // Texto descriptivo
ctaText?: string // Texto del enlace CTA
ctaHref?: string // URL del enlace CTA
ctaTarget?: '_self' | '_blank'
titleColor?: string // Color del título (default: #ffffff)
textColor?: string // Color del texto (default: rgba(255,255,255,0.7))
ctaColor?: string // Color del CTA (default: #93c5fd)
}type VariantKey =
| '3y3' // 3 celdas + 3 celdas (filas)
| '2y4' // 2 celdas + 4 celdas (filas)
| '4y2' // 4 celdas + 2 celdas (filas)
| '1y2y3' // 1 wide + 2 + 3 (filas)
| '3y2y1' // 3 + 2 + 1 wide (filas)
| '1tall-1wide-2x2' // 1 tall lateral + 1 wide + 2x2 grid (areas)<BentoGridx6
:items="[
{ imageUrl: '/img/analítica.jpg', title: 'Analítica', text: 'Métricas en tiempo real' },
{ imageUrl: '/img/integraciones.jpg', title: 'Integraciones' },
{ imageUrl: '/img/seguridad.jpg', title: 'Seguridad', ctaText: 'Saber más', ctaHref: '#' },
{ imageUrl: '/img/rendimiento.jpg', title: 'Rendimiento' },
{ imageUrl: '/img/soporte.jpg', title: 'Soporte' },
{ imageUrl: '/img/escala.jpg', title: 'Escalabilidad' },
]"
variant="1tall-1wide-2x2"
gap="0.75rem"
border-radius="0.75rem"
card-style="overlay"
/>