Account

Chrome

Creative

Corner 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.

Terminal
npx @galactrex/ui add corner-glow

Usage

Example
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.

See plans

Props

PropTypeDefaultDescription
corner"top-left" | "top-right" | "bottom-left" | "bottom-right""top-right"Where the light is.
sizenumber0.7Radius as a share of the parent.
intensitynumber0.16Strength, 0 to 1.
responsivebooleantrueLean in on hover or focus.
colorstring—Any CSS colour; defaults to a theme token.
classNamestring—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.