Skip to content

Twig API

Parameters

attr

  • Type: array

Shorthand of list_attr.

list_attr

  • Type: array

Customizes the list element attributes.

item_attr

  • Type: array

Customizes the list item elements attributes.

icon_attr

  • Type: array

Customizes the icon attributes.

action_attr

  • Type: array

Customizes the action element attributes.

action_tag

  • Type: string

Customizes the action element type (tag).

items

  • Type: array

Uses the icon name as key and the url as value for each entry of this array. An array can be passed instead of the url to pass custom attributes to the action.

Blocks

item

Overrides the component behavior inside the list items.

icon

Overrides the icons.