Chrome
CreativeCorner Glow
Gives flat cards depth and a direction without touching their content.
Install
Included with Creative: needs your API key. Initialize and log in once.
npx @galactrex/ui add corner-glowUsage
import { CornerGlow } from "@/components/galactrex/corner-glow";
<div className="relative overflow-hidden rounded-xl p-6"><CornerGlow />…</div>Source
Installs to components/galactrex/corner-glow.tsx, with the shared motion primitives beside it.
Source for this component comes with its plan. Install it with the command above, or open your licensed copy here.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
corner | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-right" | Where the light is. |
size | number | 0.7 | Radius as a share of the parent. |
intensity | number | 0.16 | Strength, 0 to 1. |
responsive | boolean | true | Lean in on hover or focus. |
color | string | — | Any CSS colour; defaults to a theme token. |
className | string | — | Extra classes for the outer element. |
Variants
- Card. One per card, same corner across a grid.
Accessibility
- Decorative.
Motion and reduced motion
- Spring scale on hover or focus.
- Reduced motion: brightens without growing.