Skip to Content
🎉Introducing Pumki UI

Simple Badges

A few examples of simple badges with different styles and sizes.

Pumki UIPumki UI
Default
Secondary
Error
Outline
Shiny Default
Shiny Secondary
Shiny Error
Shiny Outline
Fast Shine
Slow Shine
Large SimpleBadge

Installation

Usage


import { SimpleBadge } from '@/components/pumki-ui/badges/simple';

<SimpleBadge>Pumki UI</SimpleBadge>

Props

PropTypeDefaultDescription
variant?‘default’ | ‘secondary’ | ‘destructive’ | ‘outline‘“default”Style variant for the badge.
shiny?booleanfalseIf true, adds a shine animation to the badge.
shinySpeed?number5Speed of the shine animation (in seconds).
className?string-Additional CSS classes for the badge.
children?React.ReactNode-Badge content.
…propsHTMLDivElement attributes-Any other props for the badge container.
Last updated on