Nexus Card

A completely unique, ultra-premium, and modernistic card component. Features reactive 3D tilt, a dynamic mouse-tracking spotlight glow, tactile glassmorphism with subtle noise texture, and an animated ambient border.

uiclass-variance-authorityframer-motion

Installation

$npx futureuikit add nexus-card

Import

import { NexusCard } from "@/components/ui/nexus-card"
Layout Variant
Color Theme
Shape
Spacing

Named Keys & Props

Pass these exact named keys as props on <NexusCard />. Click any color pill to copy the prop.

colorDefault is "default"(Black & White)
variantVisual style
"default""glass""solid""neon"
shapeCorner shape
"default""square""rounded""sharp"
spacingInner spacing
"default""2x""4x""6x""8x"

Usage Example

A basic implementation example to get you started.

Example Implementation
import { NexusCard } from"@/components/ui/nexus-card";

export default function Example() {
 return (
 <NexusCard className="w-80 h-96">
 <h2 className="text-2xl font-bold text-foreground mb-2">Nexus Design</h2>
 <p className="text-muted-foreground">Hover over this card to experience the premium tactile feel, reactive spotlight, and 3D parallax tilt.</p>
 </NexusCard>
 );
}

Features

Key capabilities and highlights.

Key Capabilities
  • ◆Built with Framer Motion for advanced 3D physics and parallax tilt.
  • ◆Reactive spotlight that smoothly tracks the user's mouse position.
  • ◆Tactile glassmorphism with a subtle SVG noise overlay for a premium'frosted glass'feel.
  • ◆Animated ambient border that acts as a continuous light source tracing the card's edge.
  • ◆Highly reusable with toggleable features and fully customizable colors.

Notes

Important implementation details to consider.

Implementation Details
  • ◆Install: Run'npx futureuikit add nexus-card'.
  • ◆Import:'import { NexusCard } from "@/components/ui/nexus-card";'
  • ◆Interactivity: Tilt and spotlight effects are enabled by default but can be disabled via'tilt={false}'and'spotlight={false}'.
  • ◆Aesthetics: Toggle the texture and ambient light via'noise={false}'and'animatedBorder={false}'.
  • ◆Customization: Adjust'spotlightColor','borderGradient', and'containerColor'to match your brand's unique palette.