Skip to main content
Clever Ops

Layer Stack Features

Architecture layer stack for React product pages, skewed Tailwind planes pile the system into a flat axonometric diagram, each layer wired to a margin note.

Preview & code

Loading Layer Stack Features preview

Installation

pnpm dlx shadcn@latest add @cleverui/feature-layer-stack

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

Usage

tsx
import { FeatureLayerStack } from '@/components/blocks/feature-layer-stack'
Exampletsx
import { FeatureLayerStack } from '@/components/blocks/feature-layer-stack'

export default function FeatureLayerStackDemo() {
  return (
    <FeatureLayerStack
      eyebrow="Runtime architecture"
      heading="Five layers. One deploy surface."
      description="Fieldnote ships as a vertical stack, each plane owns a contract, and the plane above never reaches past it. Swap hosts without rewriting the middle."
      layers={[
        {
          icon: 'Globe',
          label: 'Edge gateway',
          sublabel: 'ingress',
          note: {
            title: 'Signed entry, region-local',
            body: 'TLS termination, JWT verification, and request shaping land here before anything touches product code.',
          },
        },
        {
          icon: 'Workflow',
          label: 'Orchestration plane',
          sublabel: 'workflows',
          note: {
            title: 'Durable runs with spend caps',
            body: 'Step graphs resume after deploys. Every tool call inherits a budget and a kill switch from policy.',
          },
        },
        {
          icon: 'Shield',
          label: 'Policy & identity',
          sublabel: 'control',
          note: {
            title: 'Rules evaluated on every write',
            body: 'Declarative packs gate mutations. Agents and humans share the same enforcement path.',
          },
        },
        {
          icon: 'Database',
          label: 'State & replay',
          sublabel: 'storage',
          note: {
            title: 'Point-in-time restore',
            body: 'Event-sourced ledgers keep every run reconstructible, export as CSV or stream to your own S3.',
          },
        },
        {
          icon: 'Server',
          label: 'Compute fabric',
          sublabel: 'workers',
          note: {
            title: 'Isolated sandboxes',
            body: 'Tool processes run in short-lived containers with network allowlists. Coarse pointers and cold starts are expected.',
          },
        },
      ]}
      baseline="Self-hosted or cloud, same stack"
    />
  )
}

API reference

FeatureLayerStack accepts the following props.

PropTypeDefaultDescription
eyebrowstring
heading*string
descriptionstring
layers*FeatureLayerStackLayer[]3–5 layers, top-to-bottom in the stack; each pairs with its note by index
baselinestringmono caption under the stack

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

Referenced types

Typestsx
export interface FeatureLayerStackLayer {
  /** lucide-react icon name, e.g. 'Database' */
  icon?: string
  label: string
  sublabel?: string
  note: FeatureLayerStackNote
}

export interface FeatureLayerStackNote {
  title: string
  body: string
}

Frequently asked questions

How do I install the Layer Stack Features component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/feature-layer-stack`. 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 Layer Stack Features require?

Layer Stack Features uses motion and lucide-react 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 Layer Stack Features 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