klyv-ui

Likert Scale

Forms

About

An accessible survey matrix component for rating multiple statements against the same agreement scale, with per-row required validation, a progress indicator, and a layout that collapses from a grid into stacked cards on narrow containers.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Likert Scale to your project and fits it to your theme.

Code

How Likert Scale is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import LikertScale, {
  type LikertScaleStatement,
  type LikertScaleOption,
} from "@/components/ui/likert-scale";

const options: LikertScaleOption[] = [
  { value: "never", label: "Never" },
  { value: "sometimes", label: "Sometimes" },
  { value: "daily", label: "Daily" },
];

const statements: LikertScaleStatement[] = [
  { id: "search", label: "Global search" },
  { id: "shortcuts", label: "Keyboard shortcuts" },
];

export default function LikertScaleCustomScaleDemo() {
  return (
    <div className="flex w-full items-center justify-center bg-background p-6 text-foreground">
      <div className="w-full max-w-xl">
        <LikertScale
          label="How often do you use these?"
          statements={statements}
          options={options}
          showProgress={false}
        />
      </div>
    </div>
  );
}

Dependencies

More by klyv-ui

View all
  • Gantt Chart

    Gantt Chart

    68
  • Klyv Animated Beam

    Klyv Animated Beam

    56
  • Shader Canvas

    Shader Canvas

    54
  • Pareto Chart

    Pareto Chart

    49
  • Fluid Canvas

    Fluid Canvas

    28
  • Sunburst Chart

    Sunburst Chart

    28
  • Gooey Loader

    Gooey Loader

    26
  • Morphing Text

    Morphing Text

    23

More in Forms

View all
  • Premium Auth

    Premium Auth

    532
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    77
  • Login 2

    Login 2

    8
  • Card Studio

    Card Studio

    43
  • Login Card

    Login Card

    29
  • Form

    Form

    17
  • Split Sign In Form

    Split Sign In Form

    76