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
  • Log

    Log

    7
  • Notification

    Notification

    2
  • Number Stepper

    Number Stepper

    2
  • Segmented Control

    Segmented Control

    2
  • Chip

    Chip

    2
  • Checkbox

    Checkbox

    1
  • E-Ink Code

    E-Ink Code

  • QR Code

    QR Code

Explore more