astralyxdev

Odds Display

Pricing 3

About

A selectable sports-betting price shown in decimal, fractional or American format, with an arrow flagging when the price has drifted or shortened since it was last shown.

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

Code

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

Usage.tsx

"use client";

import { OddsDisplay } from "@/components/ui/odds-display";

export default function OddsDisplayStatesDemo() {
  return (
    <div className="flex items-center justify-center gap-2 bg-background p-10">
      <OddsDisplay
        label="Home"
        odds={1.9}
        format="decimal"
        selected
        onSelect={() => {}}
      />
      <OddsDisplay
        label="Draw"
        odds={3.4}
        format="decimal"
        onSelect={() => {}}
      />
      <OddsDisplay
        label="Away"
        odds={4.2}
        format="decimal"
        suspended
        onSelect={() => {}}
      />
    </div>
  );
}

Dependencies

More by astralyxdev

View all
  • Rate Limit Meter

    Rate Limit Meter

    38
  • Note Graph

    Note Graph

    28
  • Checkout Summary

    Checkout Summary

    22
  • Migration List

    Migration List

    12
  • IP Cluster

    IP Cluster

    12
  • Budget Guard

    Budget Guard

    12
  • Prompt Versions

    Prompt Versions

    10
  • MCP Capability Matrix

    MCP Capability Matrix

    9

More in Pricing

View all
  • Pricing Section

    Pricing Section

    691
  • Colorful-Pricing

    Colorful-Pricing

    93
  • Pricing Section

    Pricing Section

    201
  • Pricing Card

    Pricing Card

    391
  • pricing section

    pricing section

    175
  • RuixenPricing05

    RuixenPricing05

    117
  • Single Pricing Card

    Single Pricing Card

    818
  • Pricing Cards

    Pricing Cards

    33