Skip to content

    Browse components

    Flashy Card

    A card with a comet of gradient light sweeping its border that brightens, blooms into a glow and flashes across the surface on hover.

    Open
    Customize

    hover
    always

    Installation

    npx shadcn@latest add @glint-ui/flashy-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/flashy-card.json

    Usage

    import { FlashyCard } from "@/components/ui/flashy-card";
    
    <FlashyCard colors={["#22d3ee", "#a78bfa", "#f472b6"]} speed={3}>
      <PricingPlan />
    </FlashyCard>

    Props

    PropTypeDefaultDescription
    childrenReactNode—Card content.
    colorsstring[]["#22d3ee","#a78bfa","#f472b6","#fbbf24"]Gradient stops of the sweeping light.
    speednumber3Seconds per full sweep.
    borderWidthnumber1.5Border thickness in px.
    radiusnumber20Corner radius in px.
    glownumber0.6Glow strength on hover.
    trigger"hover" | "always""hover"Light up on hover/focus, or always.
    classNamestring—Extra classes for the root element.