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>
)
}














