Skip to content

    Browse components

    Vercel Card

    Minimal monochrome card with a fading grid, corner plus markers and a pointer spotlight that lights up the grid lines.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/vercel-card

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/vercel-card.json

    Usage

    import { VercelCard } from "@/components/ui/vercel-card";
    
    <VercelCard>
      <div className="p-7">
        <h3>Instant rollbacks</h3>
        <p>Revert production in one click.</p>
      </div>
    </VercelCard>

    Props

    PropTypeDefaultDescription
    childrenReactNode—Card content.
    gridSizenumber24Grid cell size in px.
    gridbooleantrueShow the grid pattern.
    markersbooleantruePlus markers on the corners.
    spotlightSizenumber320Spotlight radius in px.
    classNamestring—Extra classes for the root element.