An icon may optionally be added to a button to help communicate the button's action and help draw attention. All button types allow support using an SVG / Icon.
Using class="trailing-icon" Determines the position of the icon and locating it on the right of the text, and is also supported on all button types. The SVG / Icon needs to be inserted beneath the text in order to work.
Using link="" redirects the user to the specified link on-click, and is also supported on all button types, applying an underline to the linked button.
Buttons support custom theming and can be customized in terms of color.
Import
The component must be called individually using its id, class or the <component-name>. A token defines a specific part of a component that can altered.