UNPKG

nextuiq

Version:

NextUIQ is a modern, lightweight, and developer-friendly UI component library for React and Next.js. Built with TypeScript and Tailwind CSS, it offers customizable, accessible, and performance-optimized components with built-in dark mode, theme customizat

18 lines (17 loc) 536 B
import { default as React } from 'react'; type BadgeVariant = "light" | "solid"; type BadgeSize = "sm" | "md"; type BadgeColor = "primary" | "success" | "error" | "warning" | "info" | "light" | "dark"; export interface BadgeProps { variant?: BadgeVariant; size?: BadgeSize; color?: BadgeColor; startIcon?: React.ReactNode; endIcon?: React.ReactNode; children: React.ReactNode; id?: string; role?: 'status' | 'badge'; ariaLabel?: string; } export declare const Badge: React.FC<BadgeProps>; export {};