NexoreUI
2.0
InstallationComponentsIconsTemplatesNewNexore MakePricing
Create Project
GitHub
NexoreUI
2.0
Navigation
InstallationComponentsIconsTemplatesNexore MakeCreate Project
InstallationComponents OverviewIcons
Categories (65)
ButtonInputCheckboxSelectSwitchSliderRatingFile Upload
CardAccordionTabsTableStepperScroll AreaNavigationDockData DisplayChartsCommerce
Modal (Dialog)AlertBadgeAvatarTooltipProgressSkeletonLoadersToasterSocial
Aurora Border CardAurora Search PillAI Prompt InputCommandInteractive Code BlockPro AI
Media ShowcaseOverlays & DrawersPro ButtonsPro DashboardsPro E-CommercePro FeedbackPro FormsPro InputsPro LayoutsPro ListsPro MarketingPro NavigationPro TablesSpecial FormsUltra Components
OverviewPro CardsPro ObjectsSoundPulseSilkUnveilNode Flow Graph
NexoreUI v2.0Studio
DocsBadge

Badge

Small status descriptors for UI elements.

PreviousAlert
NextAvatar
On This Page
Quick ActionsProject StudioNewNexore 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".