ETag Tag
Examples
Tag with icon
Tag with avatar
Checkable tags, custom colors and closing
Tag
Properties
checkableboolAllow clicks to toggle the checked state.
falsecheckedboolWhether the control is checked or active.
falseclosableboolShow a close or remove button.
falsecolorcolorCustom color; a transparent value usually selects theme or semantic colors.
Dynamic bindingeffectstringVisual theme of the component.
light
dark
plain
"light"enabledboolAllow interaction; false disables the control.
trueheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeighthitboolShow tag outline emphasis.
falseroundboolUse rounded pill button styling.
falsesizeintControl size; inherits the nearest EConfigProvider by default.
EStyle.SmallEStyle.MediumEStyle.Large
Inherited; EStyle.Medium by defaultstyleTypeintSemantic color style.
EStyle.DefaultEStyle.PrimaryEStyle.SuccessEStyle.InfoEStyle.WarningEStyle.Danger
EStyle.PrimarytextstringDisplayed text.
""visibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidthdarkEffectboolRead onlyWhether the visual effect is dark.
Computed at runtimeiconSourceintIcon used by the component.
EIcons.*
0 (no icon)
0avatarSourceurlAvatar image URL displayed inside a tag.
""Signals
closed()Emitted after the component closes.
clicked()Emitted when the content is clicked.
changed(bool checked)Emitted when tag selection changes; checked is its selected state.