Serafim

Badge Delta

Cards 223

About

Badge component in shadcn/ui format inspired by Tremor

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

Code

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

Usage.tsx

import { BadgeDelta } from "@/components/ui/badge-delta"

export function BadgeDeltaSolid() {
  return (
    <div className="flex flex-wrap justify-center gap-4">
      <BadgeDelta 
        variant="solid"
        deltaType="increase"
        iconStyle="line"
        value="9.3%"
      />
      <BadgeDelta 
        variant="solid"
        deltaType="decrease"
        iconStyle="line"
        value="1.9%"
      />
      <BadgeDelta 
        variant="solid"
        deltaType="neutral"
        iconStyle="line"
        value="0.6%"
      />
    </div>
  )
}

Dependencies

More by Serafim

View all
  • Spline Scene

    Spline Scene

    9.5K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.3K
  • Gradient Button

    Gradient Button

    1.9K
  • Pixel Canvas

    Pixel Canvas

    900
  • Animated Blur Number

    Animated Blur Number

    830
  • Empty State

    Empty State

    775
  • Balloons

    Balloons

    755
  • Status Badge

    Status Badge

    646

More in Cards

View all
  • Statistics Card 2

    Statistics Card 2

    264
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Stats cards with links

    Stats cards with links

    39
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    292
  • Item

    Item

    10