Sigil

Chip

A small tag.

dot puts a dot in the chip's tone before the label, for status pills; leading puts any node, such as an icon, before it.

GUITUIRuns in the browserchip

Preview

Chip, Default, light themeChip, Default, dark theme

Usage example

fn chip_demo() -> ChipBuilder {    chip("Stable", Tone::Success)}

API

NameSignaturePurpose
chip`fn chip(label, tone: Tone) -> ChipBuilder`; `.dot()`, `.leading(node)`A small tag. dot puts a dot in the chip's tone before the label, for status pills; leading puts any node, such as an icon, before it.