Skip to content

Kirby 3.6.6

Options dropdown

<k-options-dropdown>

This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.

Props

Prop Type Default Description
align
string
Supported values:
left, right
"right"
Aligment of the dropdown items
icon
string
"dots"
Icon for the dropdown button
options
array|func|string
function() { return []; }
text
boolean|string
true
Whether or which text to show for the dropdown button
theme
string
Supported values:
dark, light
"dark"
Visual theme of the dropdown

Events

Event Description Passes
action
  • undefined
  • undefined
option
  • undefined
  • undefined

CSS classes

.k-options-dropdown