astralyxdev

Odds Display

Pricing 1

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 OddsDisplayFormatsDemo() {
  return (
    <div className="flex items-center justify-center gap-2 bg-background p-10">
      <OddsDisplay
        label="Decimal"
        odds={2.4}
        format="decimal"
        onSelect={() => {}}
      />
      <OddsDisplay
        label="Fractional"
        odds={2.4}
        format="fractional"
        onSelect={() => {}}
      />
      <OddsDisplay
        label="American"
        odds={2.4}
        format="american"
        onSelect={() => {}}
      />
    </div>
  );
}

Dependencies

More by astralyxdev

View all
  • Rate Limit Meter

    Rate Limit Meter

    46
  • Note Graph

    Note Graph

    37
  • Checkout Summary

    Checkout Summary

    28
  • IP Cluster

    IP Cluster

    15
  • Migration List

    Migration List

    13
  • MCP Capability Matrix

    MCP Capability Matrix

    13
  • Budget Guard

    Budget Guard

    13
  • Prompt Versions

    Prompt Versions

    11

More in Pricing

View all
  • Pricing Section 1

    Pricing Section 1

    109
  • Pricing Section

    Pricing Section

    736
  • Executive Pricing Plan

    Executive Pricing Plan

    21
  • Pricing Card

    Pricing Card

    592
  • Review Stack Pricing

    Review Stack Pricing

    14
  • Single Pricing Card

    Single Pricing Card

    830
  • Toggle Pricing Cards

    Toggle Pricing Cards

    112
  • Pricing Section

    Pricing Section

    223