NexoreUIv1.8.6
InstallationComponents61IconsTemplatesNEWNexore MakeAI
Create ProjectSTUDIOGitHub
NexoreUI
61 comps
Create Project
Studio
Installation
Components Overview
60+
Icons
300+
Categories6 groups
Button
Input
Checkbox
AI
Select
AI
Switch
Slider
Rating
File Upload
Card
Accordion
Tabs
Table
Stepper
Scroll Area
Navigation
Dock
Data Display
Aurora Border Card
AI
Aurora Search Pill
AI
AI Prompt Input
AI
Command
Interactive Code Block
AI
Pro AI
AI
Theme: cyan
Studio
DocsBadge

Badge

Small status descriptors for UI elements.

NextAvatar
On This Page
Quick Actions
Project Studio
New
Nexore Make (AI)Source on GitHub

Badges

Status indicators, notification tags, and label chips.

When to use which variant

default / secondaryGeneral metadata tags, category filters, counts descriptions
successCompleted actions, online status, valid forms updates
infoHelpful tips, announcements, secondary updates notes
warningPending actions, warnings, warning alerts thresholds
destructiveErrors, failures, offline statuses, system blocking
neon / gradientCalling interest to sponsored badges or upgraded plans

Interactive Playground

Live CanvasInteractive
New
Controls(5)
variant
select

Visual style of the badge label

size
select

Size dimensions of the badge

dot
boolean
Toggle state:

Show a small status indicator dot

pulse
boolean
Toggle state:

Animate status dot with a pulse effect

children
text

Badge text content

Generated JSX
Source
import { Badge } from "nexoreui"

<Badge>
  New
</Badge>

Showcase & Examples

Default Badge

New Feature
component.tsx
1

Status Badges (Standard Core)

Default
Secondary
Success
Info
Warning
Destructive
component.tsx
1

Neon Glow Badge

Premium Glow
component.tsx
1

Notification Badge

5
component.tsx
1

Ribbon Badge

SALE
component.tsx
1
Page 1 of 3

API Reference (Props)

PropTypeDefaultDescription
variant"default" | "secondary" | "destructive" | "success" | "warning" | "info" | "outline" | "gradient" | "neon""default"Visual style of the badge label.
size"default" | "sm" | "lg""default"Responsive text scaling.
dotbooleanfalseRenders a small status indicator dot on the left.
pulsebooleanfalseEnables repeating scaling animation on the status dot.
children*React.ReactNode—Text label or element contents.

Accessibility (a11y)

  • Text Contrast: Text colors are automatically set based on theme guidelines, ensuring readable color contrast ranges for dark and light modes.
  • Screen Readers: If the badge is representing dynamic count updates (like notifications), ensure a parent element sets aria-live="polite".