Skip to content
  • Android
  • iOS
  • Web

Chip

Show a compact tag or category.

Engine API NChipnayan-ui/components

Live examples

Example.tsx

Attributes

NChip attributes
NameTypeDefaultDetails
childrenReactNodeOptional
sizestring | numbermdUse sm, md, or lg.
colorstringdefaultUse default, accent, success, warning, or danger.
variantstringsecondaryUse primary, secondary, tertiary, or soft.
classNamestringOptionalSupported Tailwind-style utilities, resolved entirely in Rust. See the engine README.

Tags