Skip to main content
Clever Ops

Student Outcomes Band

Outcome stats in the encouraging register, completion rate, career switches, and salary delta tick up once, each with a plain-language caption instead of a mono label.

Preview & code

Loading Student Outcomes Band preview

Installation

pnpm dlx shadcn@latest add @cleverui/student-outcomes-band

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

Usage

tsx
import { StudentOutcomesBand } from '@/components/blocks/student-outcomes-band'
Exampletsx
import { StudentOutcomesBand } from '@/components/blocks/student-outcomes-band'

export default function StudentOutcomesBandDemo() {
  return (
    <div className="mx-auto w-full">
      <StudentOutcomesBand
        heading="Where our graduates end up"
        intro="Real numbers from real cohorts, here's what finishing actually looks like."
        outcomes={[
          {
            value: 92,
            suffix: '%',
            label: 'Completion rate',
            caption:
              '9 in 10 students who start week one finish the full course.',
          },
          {
            value: 64,
            suffix: '%',
            label: 'Career switches',
            caption:
              'Nearly two-thirds moved into a new role or industry within a year.',
          },
          {
            value: 28,
            prefix: '+',
            suffix: '%',
            label: 'Salary delta',
            caption:
              'Median lift in reported salary twelve months after graduation.',
          },
          {
            value: 4.2,
            decimals: 1,
            suffix: ' mo',
            label: 'Time to hire',
            caption:
              'Median months from demo day to a signed offer in a related role.',
          },
        ]}
        footnote="From our 2025 graduate survey, 412 responses."
      />
    </div>
  )
}

API reference

StudentOutcomesBand accepts the following props.

PropTypeDefaultDescription
headingstring'Where our graduates end up'
introstringone warm plain-language sentence under the heading
outcomes*StudentOutcome[]
durationnumber1.2seconds for the count-up sweep
footnotestringplain-sentence source line, friendly sans, never mono

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

Referenced types

Typestsx
export interface StudentOutcome {
  value: number
  prefix?: string
  suffix?: string
  decimals?: number
  /** short bold line, e.g. 'Completion rate' */
  label: string
  /** full plain-language sentence explaining the number */
  caption: string
}

Frequently asked questions

How do I install the Student Outcomes Band component?

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

Student Outcomes Band 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 Student Outcomes Band 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