alexisroe

Value Display

Component

About

Displays a numeric measurement as a large value paired with a smaller unit label, like a gauge or sensor reading (e.g. 44% or 21.4°C).

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

Code

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

Usage.tsx

import { Value } from "@/components/ui/value";

export default function ValueDemo() {
  return (
    <div
      style={{
        background: "var(--eink-color-background)",
        color: "var(--eink-color-primary)",
      }}
      className="w-full h-screen flex items-center justify-center"
    >
      <Value unit="%">44</Value>
    </div>
  );
}

More by alexisroe

View all
  • E-Ink Progress Bar

    E-Ink Progress Bar

  • Navigation

    Navigation

  • Pill

    Pill

  • Notification

    Notification

  • Number Stepper

    Number Stepper

  • Log

    Log

  • Last Updated

    Last Updated

  • List

    List

Explore more