Use an interactive label for markers, filters, or path segments.
How to use
Use Tag for bounded label content with a public close action. Closing and selection have different meanings; use a separate Button or selection control when that is the intended interaction.
closable displays the close action, and onClose asks the page to remove the data. Closing does not modify the page’s list automatically.
variant, shape, and toggle control appearance, shape, and toggle behavior respectively. parts configures only the generated close Button.
The built-in close button name follows LocaleProvider and supports Provider messages overrides. The caller still owns tag content and removal after onClose.
The tag root uses Frame singleLine by default and retains its internal zero-gap exception. External icon-label combinations still use the general 4 CSS px minimum.