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.tsxEditable React and TypeScript component source.
Working example
examples/example.tsxA minimal import and render example that matches the packaged API.
Installation guide
README.mdManual 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 { GlowingShadowCard } from "@/components/glowing-shadow-card";export default function CallToAction() {
return <GlowingShadowCard badge="New">Explore the release</GlowingShadowCard>;
}Props
Component API
| Prop | Type | Default | Description |
|---|---|---|---|
| badge | string | "cool" | Short badge displayed above the card label. |
| children | ReactNode | "Glowing shadows" | Main card content. |
| ariaLabel | string | undefined | Accessible button label. |
| className | string | "" | Additional button class names. |
| onClick | MouseEventHandler<HTMLButtonElement> | undefined | Button click handler. |
| active | boolean | false | Keeps 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.tsxNo 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.