Skip to main content
Clever Ops

Platform Matrix Features

Feature availability matrix for React product sites, capabilities as rows, platforms as columns, tri-state Tailwind-token cells for shipped, partial, and planned. Docs-grade truth.

Preview & code

Loading Platform Matrix Features preview

Installation

pnpm dlx shadcn@latest add @cleverui/feature-platform-matrix

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

Usage

tsx
import { FeaturePlatformMatrix } from '@/components/blocks/feature-platform-matrix'
Exampletsx
import { FeaturePlatformMatrix } from '@/components/blocks/feature-platform-matrix'

export default function FeaturePlatformMatrixDemo() {
  return (
    <FeaturePlatformMatrix
      eyebrow="Surface map"
      heading="Where each capability runs."
      description="Meridian’s public features, scored by runtime. Full means GA on that surface; partial is a subset of the Web API; planned is on the next two trains."
      platforms={['Web', 'CLI', 'API', 'Mobile']}
      highlight="Web"
      rows={[
        {
          feature: 'Workflow editor',
          note: 'Visual + YAML dual mode',
          cells: ['full', 'partial', 'none', 'planned'],
        },
        {
          feature: 'Policy engine',
          note: 'Declarative write-path rules',
          cells: ['full', 'full', 'full', 'partial'],
        },
        {
          feature: 'Replay store',
          cells: ['full', 'full', 'full', 'none'],
        },
        {
          feature: 'Webhook fabric',
          note: 'Signed delivery + retries',
          cells: ['full', 'partial', 'full', 'none'],
        },
        {
          feature: 'Agent sandbox',
          note: 'Isolated tool execution',
          cells: ['full', 'full', 'partial', 'planned'],
        },
        {
          feature: 'Audit export',
          cells: ['full', 'full', 'full', 'partial'],
        },
        {
          feature: 'Offline draft',
          note: 'Local-first edits, sync later',
          cells: ['partial', 'none', 'none', 'full'],
        },
        {
          feature: 'Push notifications',
          cells: ['none', 'none', 'partial', 'full'],
        },
      ]}
      legend={{
        full: 'Available',
        partial: 'Partial',
        planned: 'Planned',
      }}
    />
  )
}

API reference

FeaturePlatformMatrix accepts the following props.

PropTypeDefaultDescription
eyebrowstring
heading*string
descriptionstring
platforms*string[]
highlightstringplatform label whose column gets the primary keyline
rows*FeaturePlatformMatrixRow[]
legendFeaturePlatformMatrixLegend

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

Referenced types

Typestsx
export interface FeaturePlatformMatrixRow {
  feature: string
  note?: string
  cells: FeaturePlatformCell[]
}

export interface FeaturePlatformMatrixLegend {
  full?: string
  partial?: string
  planned?: string
}

export type FeaturePlatformCell = 'full' | 'partial' | 'planned' | 'none'

Frequently asked questions

How do I install the Platform Matrix 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-platform-matrix`. 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 Platform Matrix Features require?

Platform Matrix Features uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Platform Matrix 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