Class Icon

All Implemented Interfaces:
Container<HTMLElement,Icon>, Finder<HTMLElement>, HasElement<HTMLElement,Icon>, HasHTMLElement<HTMLElement,Icon>, IsElement<HTMLElement>, TypedBuilder<HTMLElement,Icon>, Component, WithProgress<HTMLElement,Icon>, Modifiers.Inline<HTMLElement,Icon>

An icon component is a container that allows for icons of varying dimensions, as well as spinners, to seamlessly replace each other without shifting surrounding content.

icon(check());
icon(filter())
        .size(lg);
icon(exclamationTriangle())
        .inline()
        .status(warning);
See Also: