Skip to main content
Clever Ops

Terminal Rows Features

Alternating feature rows for developer tools built with React and Tailwind, each capability argued in copy and proven beside a token-built terminal pane with typed command and output.

Preview & code

Loading Terminal Rows Features preview

Installation

pnpm dlx shadcn@latest add @cleverui/feature-terminal-rows

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

Usage

tsx
import { FeatureTerminalRows } from '@/components/blocks/feature-terminal-rows'
Exampletsx
import { FeatureTerminalRows } from '@/components/blocks/feature-terminal-rows'

export default function FeatureTerminalRowsDemo() {
  return (
    <FeatureTerminalRows
      eyebrow="Developer surface"
      heading="Proof lives next to the claim."
      description="Each Meridian capability ships with a command you can run. The panes below are the same CLI operators use in staging, not marketing screenshots."
      features={[
        {
          kicker: 'Replay store',
          title: 'Restore any run to the second it failed.',
          body: 'Point-in-time restore for workflow executions. Pull the full event log, re-drive side effects under a dry-run flag, and promote only when the gate clears.',
          terminal: {
            command: 'meridian replay open run_8f2c --at 14:02:11Z',
            output: [
              { text: 'snapshot  run_8f2c@14:02:11Z', state: 'muted' },
              { text: 'events    184 loaded', state: 'default' },
              { text: 'side-fx   dry-run (no writes)', state: 'success' },
              { text: 'ready     promote with --apply', state: 'success' },
            ],
          },
        },
        {
          kicker: 'Policy engine',
          title: 'Rules evaluate on every write path.',
          body: 'Declarative policies bind to resources, not dashboards. Ship a rule with the same PR as the feature it protects, the CLI shows the decision trace inline.',
          terminal: {
            command: 'meridian policy check ./rules/payments.yaml',
            output: [
              { text: 'loaded  12 rules · 3 targets', state: 'muted' },
              { text: 'trace   deny on amount > 10k without 2FA', state: 'default' },
              { text: 'result  11 pass · 0 warn · 0 fail', state: 'success' },
            ],
          },
        },
        {
          kicker: 'Agent sandbox',
          title: 'Tools run isolated, with a spend cap.',
          body: 'Every agent invocation lands in a sandboxed worker with tool allowlists and a hard budget. Exceed it and the run stops before the invoice does.',
          terminal: {
            command: 'meridian agent run draft-pr --budget 0.40',
            output: [
              { text: 'sandbox  worker-7a · tools: git,gh', state: 'muted' },
              { text: 'spent    $0.27 / $0.40', state: 'default' },
              { text: 'output   pr#1842 opened (draft)', state: 'success' },
              { text: 'status   budget remaining $0.13', state: 'success' },
            ],
          },
        },
      ]}
    />
  )
}

API reference

FeatureTerminalRows accepts the following props.

PropTypeDefaultDescription
eyebrowstring
heading*string
descriptionstring
features*FeatureTerminalRowsFeature[]

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

Referenced types

Typestsx
export interface FeatureTerminalRowsFeature {
  title: string
  body: string
  kicker?: string
  terminal: FeatureTerminalRowsTerminal
}

export interface FeatureTerminalRowsTerminal {
  command: string
  output: FeatureTerminalRowsOutputLine[]
}

export interface FeatureTerminalRowsOutputLine {
  text: string
  state?: 'default' | 'success' | 'muted'
}

Frequently asked questions

How do I install the Terminal Rows 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-terminal-rows`. 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 Terminal Rows Features require?

Terminal Rows 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 Terminal Rows 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