Serafim

Badge Delta

Cards 245

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

    Testimonials with Marquee

    2.5K
  • Gradient Button

    Gradient Button

    2.1K
  • Pixel Canvas

    Pixel Canvas

    938
  • Animated Blur Number

    Animated Blur Number

    841
  • Balloons

    Balloons

    826
  • Empty State

    Empty State

    812
  • Status Badge

    Status Badge

    711

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.4K
  • Statistics Card 2

    Statistics Card 2

    322
  • Card

    Card

    19
  • Stats cards with links

    Stats cards with links

    46
  • Model Grid Cards

    Model Grid Cards

    6
  • Admin Dashboard Cards

    Admin Dashboard Cards

    46
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    781
  • Card

    Card

    2