Neon Halo Card

A card rimmed by a slow sweep of coloured light: a conic gradient travels a hairline edge while a soft bloom breathes behind it, and the pointer pulls a quiet spotlight across the surface. Restrained on light pages.

Try it: Move across the card — the spotlight follows and the halo blooms.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/neon-halo-card.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/neon-halo-card. You can also copy the source into components/ui/neon-halo-card.tsx (view on GitHub).

Usage

import { NeonHaloCard } from '@/components/ui/neon-halo-card'

Props

Component props
PropTypeDefaultNotes
colorsstring[]['#a78bfa', '#f97316', '#f472b6', '#a78bfa']2–4 colours swept around the edge.
borderWidthnumber1.5Lit edge width in px (1–4).
radiusnumber24Corner radius in px; the inner surface stays concentric.
glownumber0.6Outer bloom strength, 0–1 (halved on light until hover).
speednumber7Seconds per sweep; 0 stops it.
childrenReactNode—Card content. Defaults to a pricing card.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • Video Lightbox Dialog

    A cinematic thumbnail with a clear-glass play button that grows into a focused player on a shared-layout spring while the page blurs back. Bring your own video, or use the generated preview with…

  • Device Frame

    Generic, logo-free device chrome for product shots: a browser with a frosted toolbar and centred address field, or a phone with a machined two-tone rim, punch-hole camera, status bar and floating…

  • Editorial Spread Card

    A magazine cover on real CSS 3D: hover and it lifts off its spine, click and it swings open on a hinge while the issue slides to centre, revealing a two-page spread with a pull quote, deck and…

  • Feature Bento Grid

    An asymmetric grid of feature tiles with generated art. Hover or focus a tile: it lifts, a hairline light follows the pointer around its edge, the art drifts up and a call-to-action rises. CTAs stay…

  • Swipe Carousel Post

    An Instagram-style multi-slide post card: drag or swipe the media and the track snaps on a spring, a segmented bar fills with slide progress, the dot pager shrinks toward the edges and a double-tap…

  • Sticky Card Stack

    Project cards that pin one over the next like a deck being dealt — each card shrinks back and dims as the following one slides up over it, still peeking out by a few pixels. Scroll-driven with…

See all 27 Cards components