Back to components
Component•Premium

Glowing Shadow Card

An animated call-to-action card with a rotating spectrum border, travelling light, and a soft glow that intensifies on hover or focus.

Overview

About the Glowing Shadow Card

An animated call-to-action card with a rotating spectrum border, travelling light, and a soft glow that intensifies on hover or focus. It is delivered as editable TypeScript for React. Tailwind CSS is not required; the component's visual CSS is embedded in its TypeScript source. Its focused API can be adapted to your own content and visual system.

Usage

When to use it

  • Creative landing pages that need one high-impact call to action or feature link.
  • Portfolio and entertainment experiences where a vivid interactive surface fits the visual language.

What’s included

Files in the product ZIP

Glowing Shadow Card source

components/glowing-shadow-card.tsx

Editable React and TypeScript component source.

Working example

examples/example.tsx

A minimal import and render example that matches the packaged API.

Installation guide

README.md

Manual ZIP installation, styling, compatibility, asset, and usage notes.

Usage

Import and render

Copy the packaged source to the documented path, then use the public API shown below.

Import
import { GlowingShadowCard } from "@/components/glowing-shadow-card";
Minimum example
export default function CallToAction() {
  return <GlowingShadowCard badge="New">Explore the release</GlowingShadowCard>;
}

Props

Component API

PropTypeDefaultDescription
badgestring"cool"Short badge displayed above the card label.
childrenReactNode"Glowing shadows"Main card content.
ariaLabelstringundefinedAccessible button label.
classNamestring""Additional button class names.
onClickMouseEventHandler<HTMLButtonElement>undefinedButton click handler.
activebooleanfalseKeeps the highlighted visual state active.

Compatibility

Verified project setup

  • ReactLoom's preview is tested with Next.js 16.3.8 App Router, React 19.2.8, TypeScript 5.9.3, and Tailwind CSS 4.3.3. This describes the store environment, not the product's minimum requirements.
  • This interactive component includes the "use client" directive and must remain behind a Client Component boundary in the Next.js App Router.
  • Tailwind CSS is not required; the component's visual CSS is embedded in its TypeScript source.
Images
No image files are included or required by the packaged component.
Fonts
The source references Mona Sans from a remote CodePen asset URL. The font file is not included; replace the @font-face URL or rely on the Mona Sans/system fallback before production use.

Installation

Add it to your project

Download the Glowing Shadow Card ZIP, place the source file at src/components/glowing-shadow-card.tsx, and copy the example into your own page or feature folder.

Target path

src/components/glowing-shadow-card.tsx

No additional npm runtime packages are required beyond the React host; follow the styling requirements below.

Styling requirements

  • Tailwind CSS is not required by this component.
  • The visual styles and @font-face declaration are embedded in components/glowing-shadow-card.tsx.
  • The remote Mona Sans URL is not bundled; review or replace it before production use.