Skip to content

Component 009Cards

Trailhead Card

A little depth for your next adventure. A luminous glass card follows your pointer while floating rings and layered surfaces move in perspective.

  • Next.js
  • Tailwind CSS
  • TypeScript
Move your pointer or focus the card to explore its depth.
Loading preview…
Live interactive preview

Quick start

Make it yours.

Save trailhead-card.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.

TSXapp/page.tsx
import TrailheadCard from "@/components/ui/trailhead-card";

export default function Example() {
  return <TrailheadCard />;
}

Behind the interaction

The details that make it work.

Designed to explore, ready to adapt.

Depth in the details

Icy gradients, translucent rings, and a floating glass surface recreate the reference’s layered composition.

Made to move

Pointer movement tilts the card in three dimensions, with touch and keyboard controls and reduced-motion support.

Ready for a new trail

Customize the card and connect its actions, or use the included local demo. The artwork is drawn in CSS and SVG.

Keep exploring

View all components