Chip

A compact inline token for labeling content, with optional icons and multiple appearances.

Warning

This component is experimental and not yet stable for wide adoption. Use it with caution.

Installation

import { Chip } from "@o/pipeline/experimental/components/chip";

Usage

  • Text
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text + start icon
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text + end icon
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text + both icons
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text (presentational)
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text + start icon (presentational)
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text + end icon (presentational)
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text + both icons (presentational)
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text (tooltip)
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text + start icon (tooltip)
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text + end icon (tooltip)
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting
  • Text + both icons (tooltip)
    • Text
    • Deleted
    • Link
    • Button
    • Pill
    • Meeting

skeleton

skeleton stands the chip in as a placeholder while what it labels is loading, and makes it inert. The button appearance fills its box. The other appearances have no box to fill, so one bar covers their icons and text. Inside a loading SkeletonGroup it is on by default; see Skeleton.