Docs
→Card
→Shiny Card
Shiny Card
A shiny card with a shiny effect.
by Sarthak Kapila
Installation
Usage
Shiny Card Example
1import ShinyCard from "@/components/shiny-card";23export default function Example() {4 return <ShinyCard />;5}
Understanding the component
The card uses a subtle elevation shadow that collapses on press, creating a tactile feel. Motion is powered by a spring animation for a responsive interaction.
Credits
By Sarthak Kapila.
Props
Prop | Type | Default | |
---|---|---|---|
variant | string | "assets" | Variant of the card. |
className | string | - | Optional class name on the root container. |
style | React.CSSProperties | - | Inline styles for the root container. |