Use the KDropdown component to display contextual overlays or menus attached to an element.
This DatePicker uses a dropdown that is automatically teleported into the modal's Top Layer context.
KButton(@click="isModalOpen = true") Open Modal KModal(:opened="isModalOpen") template(#content) KDatePicker(label="Select Date")
Configure the KDropdown component using these attributes.
Listen to these events emitted by the KDropdown component.