Serafim

Badge Delta

Cards 241

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.8K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.4K
  • Gradient Button

    Gradient Button

    2K
  • Pixel Canvas

    Pixel Canvas

    928
  • Animated Blur Number

    Animated Blur Number

    836
  • Empty State

    Empty State

    800
  • Balloons

    Balloons

    792
  • Status Badge

    Status Badge

    694

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Statistics Card 7

    Statistics Card 7

    327
  • Statistics Card 2

    Statistics Card 2

    305
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    621
  • Card Studio

    Card Studio

    5
  • The Item one

    The Item one

    4
  • Card

    Card

    9
  • Weather Card

    Weather Card

    65