Card

Glow Card

Frosted glass card tinted by the surrounding lamp color, with a corner highlight and either a deep floating shadow with light spill or a short contact shadow. Follows a GlowSection's bulb when nested.

The source comes with full access.

One payment of $149 ($49 for now) opens the source right here and lets the CLI install every paid component, with lifetime updates.

Installation

pnpm dlx shadcn add @01orbital/glow-card
npx shadcn add @01orbital/glow-card
yarn shadcn add @01orbital/glow-card
bunx --bun shadcn add @01orbital/glow-card

Part of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).

It lands at components/card/glow-card.tsx, as source you own and edit.

The example also uses card and glow-section. Install them too:

pnpm dlx shadcn add @01orbital/card @01orbital/glow-section
npx shadcn add @01orbital/card @01orbital/glow-section
yarn shadcn add @01orbital/card @01orbital/glow-section
bunx --bun shadcn add @01orbital/card @01orbital/glow-section

Usage

import { GlowCard } from "@/components/card/glow-card"
import { GlowSection } from "@/components/glow/glow-section"
import { CardDescription, CardTitle } from "@/components/ui/card"

// Every word on the page. Change copy here, not in the markup.
const COPY = {
  title: "Everything in one calm place",
  body: "Notes, files and conversations sit side by side.",
} as const

// The card needs the room's light to show its glass; the section is the room.
export default function GlowCardDemo() {
  return (
    <GlowSection
      position="top-right"
      className="grid w-full max-w-md place-items-center rounded-3xl p-10"
    >
      <GlowCard className="w-full">
        <CardTitle>{COPY.title}</CardTitle>
        <CardDescription>{COPY.body}</CardDescription>
      </GlowCard>
    </GlowSection>
  )
}

API reference

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs them for you.

No other registry pieces.