NexoreUI
InstallationComponentsNexore MakeGitHub
GitHub
NexoreUIv0.1.2

Getting Started

Installation

Components

ButtonInputCardBadgeAlertAvatarAccordionModal / DialogTooltipTabsProgressSkeletonSliderSwitchRatingCommandTableStepperScroll AreaFile UploadNavigationIconsDock

Pro

ChartsData DisplayDark Mode ToolkitCommerceCookie ConsentSocialPremium EffectsLoaders

Animated

MarqueeNumber TickerAnimated NumberTyping AnimationBlur FadeBox RevealFile Preview CardImage Compare
MIT License
DocsBadge

Badge

Small status descriptors for UI elements.

Next ComponentAlert

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

Badge Playground
nexoreui
Live Preview
New
Props Panel
select

Visual style of the badge label

select

Size dimensions of the badge

boolean

Show a small status indicator dot

boolean

Animate status dot with a pulse effect

text

Badge text content

Generated Code
Open in GitHub
import { Badge } from "nexoreui"

<Badge>
  New
</Badge>

Showcase & Examples

Default Badge

New Feature
component.tsx

Status Badges (Standard Core)

Default
Secondary
Success
Info
Warning
Destructive
component.tsx

Neon Glow Badge

Premium Glow
component.tsx

Notification Badge

5
component.tsx

Ribbon Badge

SALE
component.tsx
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".