Skip to main content
Clever Ops

Transformation Strip

Member results told in numbers and words, not photos, huge stat deltas (kg down, weeks in, PB kg added) with a quote snippet each. No body imagery; inclusive by design.

Preview & code

Loading Transformation Strip preview

Installation

pnpm dlx shadcn@latest add @cleverui/transformation-strip

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

Usage

tsx
import { TransformationStrip } from '@/components/blocks/transformation-strip'
Exampletsx
'use client'

import { TransformationStrip } from '@/components/blocks/transformation-strip'

export default function TransformationStripDemo() {
  return (
    <TransformationStrip
      eyebrow="Receipts"
      heading="The work works"
      note="Individual results, averages published quarterly. No before/after photos by design."
      results={[
        {
          value: 14,
          prefix: '−',
          suffix: 'kg',
          context: 'Kg down',
          quote: 'Stopped negotiating with the alarm. That was the whole program.',
          member: 'Cal',
          weeks: 12,
        },
        {
          value: 22,
          prefix: '+',
          suffix: 'kg',
          context: 'Squat pb',
          quote: 'Same bar. Different person under it. Coach Dana would not let me stall.',
          member: 'Rina',
          weeks: 16,
        },
        {
          value: 9,
          prefix: '−',
          suffix: 'min',
          context: '5k time',
          quote: 'Engine work twice a week. Nothing fancy, just honest intervals.',
          member: 'Theo',
          weeks: 10,
        },
      ]}
    />
  )
}

API reference

TransformationStrip accepts the following props.

PropTypeDefaultDescription
headingstring'The work works'
eyebrowstringcoach-voice kicker, e.g. RECEIPTS
results*TransformationResult[]
notestringhonesty footnote

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

Referenced types

Typestsx
export interface TransformationResult {
  value: number
  /** direction glyph, e.g. - or + */
  prefix?: string
  /** e.g. kg */
  suffix: string
  /** e.g. KG DOWN or SQUAT PB */
  context: string
  quote: string
  member: string
  weeks?: number
}

Frequently asked questions

How do I install the Transformation Strip component?

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

Transformation Strip 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 Transformation Strip 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