Skip to main content
Clever Ops

Lumen Cast

A cursor-driven lamp over a feature grid. Canvas 2D casts soft real-time shadows from every tile, near tiles lift toward the light, and keyboard focus steers the lamp for equal access.

Preview & code

Loading Lumen Cast preview

Installation

pnpm dlx shadcn@latest add @cleverui/lumen-cast

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { LumenCast } from '@/components/ui/lumen-cast'
Exampletsx
import { AlertTriangle, History, Layers, Route, ShieldCheck, Sun } from 'lucide-react'
import { LumenCast } from '@/components/ui/lumen-cast'

export default function LumenCastDemo() {
  return (
    <LumenCast
      eyebrow="Datum · drafting platform"
      heading="Every revision, still standing."
      description="Six systems that watch a live structural model instead of a folder of drawings. Move the lamp, or tab through the desk."
      items={[
        {
          label: 'Loads',
          title: 'Load paths, live',
          description: 'Edit one span and watch the consequence travel to its footing before you have scrolled away.',
          icon: Route,
        },
        {
          label: 'Daylight',
          title: 'True daylight',
          description: 'Site and season accurate sun angles, so a glare problem shows up in the model, not the finished wall.',
          icon: Sun,
        },
        {
          label: 'Clashes',
          title: 'Cross-model clash',
          description: 'Structural, mechanical and architectural layers check each other on every save, not just before issue.',
          icon: AlertTriangle,
        },
        {
          label: 'Costing',
          title: 'Takeoffs that move',
          description: "Quantities track the drawing and price against this week's supplier list, not last quarter's.",
          icon: Layers,
        },
        {
          label: 'History',
          title: 'A timeline, not a folder',
          description: 'Every markup and structural change sits on a scrubbable history the whole team can rewind.',
          icon: History,
        },
        {
          label: 'Compliance',
          title: 'Compliance while you draft',
          description: 'Local codes checked against your jurisdiction as you work, not discovered at submission.',
          icon: ShieldCheck,
        },
      ]}
    />
  )
}

API reference

LumenCast accepts the following props.

PropTypeDefaultDescription
eyebrowstring'Lab · light study'mono eyebrow label above the heading
headingstring'Light finds the work.'section heading
descriptionstring'Move the cursor, or tab through the grid. A single lamp reads the desk, casting real shadows and lifting whatever it lands on.'supporting copy under the heading
itemsLumenCastItem[]DEFAULT_ITEMSfeature tiles lit by the cursor lamp, 4–8 recommended

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface LumenCastItem {
  /** mono micro-label eyebrow above the title, e.g. a discipline or module name */
  label: string
  /** tile heading */
  title: string
  /** one or two sentence description in an editorial-technical voice */
  description: string
  /** lucide icon rendered inside the tile */
  icon: LucideIcon
}

Frequently asked questions

How do I install the Lumen Cast component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/lumen-cast`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Lumen Cast require?

Lumen Cast uses lucide-react and motion on top of React and Tailwind CSS. You don't need to install them manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Lumen Cast to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services