Corner Bloom
Card and panel background: a flat ground with one soft light bloom in the top-right corner, like a spotlight or light leak. The dark tone suits an inset panel; the warm tone paints a lit cream panel with soft grain.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/corner-bloomnpx shadcn@latest add @01orbital/corner-bloomyarn dlx shadcn@latest add @01orbital/corner-bloombunx --bun shadcn@latest add @01orbital/corner-bloomUsage
import { CornerBloom } from "@/components/scene/corner-bloom"
// It fills a positioned panel; the panel is what it lights.
export default function CornerBloomDemo() {
return (
<div className="grid w-full place-items-center p-6">
<div className="relative aspect-4/3 w-full max-w-md overflow-hidden rounded-2xl">
<CornerBloom tone="dark" />
</div>
</div>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/corner-bloom-demonpx shadcn@latest add @01orbital/corner-bloom-demoyarn dlx shadcn@latest add @01orbital/corner-bloom-demobunx --bun shadcn@latest add @01orbital/corner-bloom-demoExamples
Warm Widecorner-bloom-warm-wide
Corner Bloom Warm Wide: an example of corner-bloom.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
pnpm dlx shadcn@latest add @01orbital/corner-bloom-warm-widenpx shadcn@latest add @01orbital/corner-bloom-warm-wideyarn dlx shadcn@latest add @01orbital/corner-bloom-warm-widebunx --bun shadcn@latest add @01orbital/corner-bloom-warm-wideAPI reference
Flat panel with one soft corner bloom: a wide, low wash from the top right corner, painted in the ground so it has no edge of its own.
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs it for you.
Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:
Used in blocks
One block is built with Corner Bloom.
Last updated on