
3D Extruded Buildings & Urban Footprints
Real-world 3D building extrusions with dynamic sunlight shadows, terrain DEM elevations, and pitch/bearing camera controls.
Plan-first comparison that renders each plan as its own card of included and excluded capabilities, the layout a wide matrix should degrade to on a phone.
Also available for React ->$pnpm dlx shadcn-vue@latest add https://uipkge.dev/r/vue/pricing-matrix-plan-cards.json$npx shadcn-vue@latest add https://uipkge.dev/r/vue/pricing-matrix-plan-cards.json$yarn dlx shadcn-vue@latest add https://uipkge.dev/r/vue/pricing-matrix-plan-cards.json$bunx shadcn-vue@latest add https://uipkge.dev/r/vue/pricing-matrix-plan-cards.jsonnpx shadcn-vue@latest add @uipkge/pricing-matrix-plan-cardsInstalls to:app/components/blocks/<script setup lang="ts">
import { Check, Minus } from 'lucide-vue-next'
import { Badge } from '@/components/ui/badge'
import { Button } from '@/components/ui/button'
import { Card, CardContent } from '@/components/ui/card'
import { Separator } from '@/components/ui/separator'
// One capability list, three plans referencing it by index — a capability can
// never appear on one card and silently vanish from another.
const capabilities = [
'Certified metric definitions',
'Connected warehouses',
'Query budget per team',
'Row-level access control',
'SCIM provisioning',
'Audit log export',
'Embedded dashboards',
'Data residency choice',
'Customer-managed keys',
'Named support engineer',
]
const plans = [
{ name: 'Team', price: '$0', cadence: 'while in beta', included: [0, 1], note: 'For one team proving it out.' },
{
name: 'Business',
price: '$1,400',
cadence: 'per month',
included: [0, 1, 2, 3, 4, 5, 6],
note: 'For finance and analytics running together.',
featured: true,
},
{
name: 'Enterprise',
price: 'Custom',
cadence: 'annual',
included: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
note: 'For regulated estates and multi-region.',
},
]
</script>
<template>
<section data-slot="pricing-matrix-plan-cards" class="bg-background">
<div class="mx-auto max-w-6xl px-6 py-20 lg:py-28">
<div class="max-w-2xl">
<Badge variant="secondary">Plans</Badge>
<h2 class="mt-4 text-3xl font-semibold tracking-tight sm:text-4xl">What each plan actually includes</h2>
<p class="text-muted-foreground mt-3 text-lg">
The same list on every card, with what is missing shown rather than omitted.
</p>
</div>
<div class="mt-10 grid gap-4 lg:grid-cols-3">
<Card v-for="plan in plans" :key="plan.name" :class="plan.featured ? 'border-primary' : ''">
<CardContent class="flex h-full flex-col p-6">
<div class="flex items-center justify-between gap-3">
<p class="text-sm font-semibold">{{ plan.name }}</p>
<Badge v-if="plan.featured" variant="secondary">Most chosen</Badge>
</div>
<p class="font-display mt-4 text-3xl font-bold tracking-tight">{{ plan.price }}</p>
<p class="text-muted-foreground mt-1 text-xs">{{ plan.cadence }}</p>
<p class="text-muted-foreground mt-3 text-sm leading-relaxed">{{ plan.note }}</p>
<Separator class="my-5" />
<ul class="space-y-2.5">
<li
v-for="(capability, index) in capabilities"
:key="capability"
class="flex items-start gap-2.5 text-sm"
:class="plan.included.includes(index) ? '' : 'text-muted-foreground/60'"
>
<Check
v-if="plan.included.includes(index)"
class="text-success mt-0.5 size-4 shrink-0"
aria-hidden="true"
/>
<Minus v-else class="text-muted-foreground/40 mt-0.5 size-4 shrink-0" aria-hidden="true" />
<span>{{ capability }}</span>
</li>
</ul>
<Button :variant="plan.featured ? 'default' : 'outline'" class="mt-auto pt-0 [&]:mt-8">
{{ plan.name === 'Enterprise' ? 'Talk to us' : `Start on ${plan.name}` }}
</Button>
</CardContent>
</Card>
</div>
</div>
</section>
</template>
Raw manifest:https://uipkge.dev/r/vue/pricing-matrix-plan-cards.json