Serafim

Badge Delta

Cards 244

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.5K
  • Gradient Button

    Gradient Button

    2.1K
  • Pixel Canvas

    Pixel Canvas

    934
  • Animated Blur Number

    Animated Blur Number

    840
  • Empty State

    Empty State

    809
  • Balloons

    Balloons

    803
  • Status Badge

    Status Badge

    699

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198