Skip to content
nexubDesign System
v11.9.0

Components · Labels & Badges

Icon Chip

AlphaAdded v10.3.0

An icon on a tinted tile, in one of the category colours or the product accent.

import { IconChip } from '@nexub/react';
View as Markdown

Playground

Props

size
shape
TSX
<IconChip category="violet">…</IconChip>

Examples

Default

Category colours

accent
blue
amber
emerald
pink
violet
cyan
red
lime

Sizes and shapes

States

  • default
  • size="sm"
  • size="md"
  • size="lg"

Props

Props
PropTypeDefaultDescription
category'accent' | 'blue' | 'amber' | 'emerald' | 'pink' | 'violet' | 'cyan' | 'red' | 'lime'—Colour of the chip. accent is the product accent. Without it the chip is neutral.
size'sm' | 'md' | 'lg''md'Size of the tile and its icon.
shape'circle' | 'square''square'Rounded square or circle.