Skip to content

SiSidePanelActionComponent documentation

selector
button[si-side-panel-action], a[si-side-panel-action]

Creates an action for the side-panel. This action will remain visible if the side-panel is collapsed.

Example:

<si-side-panel-content>
  <si-side-panel-actions>
      <button
        type="button"
        si-side-panel-action
        icon="element-alarm-background-filled"
        iconColor="status-danger"
        stackedIcon="element-alarm-tick"
        stackedIconColor="text-body"
        (click)="action()"
      >
        Action
      </button>
  </si-side-panel-actions>
</si-side-panel-content>

Input Properties

NameTypeDefaultDescription
disabled
booleanfalseWhen disabled, renders a dot separator instead of the icon and label.
icon
Required
stringIcon name for the main icon.
iconColor
stringCSS color class for the main icon (e.g. 'status-warning' ).
stackedIcon
stringOptional stacked icon name displayed on top of the main icon.
stackedIconColor
stringCSS color class for the stacked icon (e.g. 'text-body' ).

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.