Skip to content
On this page

NcActionButton

Button component to be used in Actions

Props

Prop nameDescriptionTypeValuesDefault
iconIcon to show with the action, can be either a CSS class or an URLstring-''
titleTitle to show next to the iconstring-''
closeAfterClickWhether we close the Actions menu after the clickboolean-false
ariaLabelAria label for the button. Not needed if the button has text.string-''
disableddisabled state of the action buttonboolean-false

Events

Event namePropertiesDescription
clickEmitted when the action is clicked

Slots

NameDescriptionBindings
iconManually provide icon
default

This component is made to be used inside of the NcActions component slots.

loading...

If you're using a long text you can specify a title

loading...

Action icon attribute with a single action

loading...

You can also use a custom icon, for example from the vue-material-design-icons library:

loading...