Skip to content
aeria-panel
Used without any props, this component renders only a blank div. Passing the float or fixed-right properties, though, you can make modals or side panels.
Example
vue
<script setup lang="ts">
const panelVisible = ref(false)
</script>
<template>
<aeria-panel
float
close-hint
title="Example"
v-model="panelVisible"
@overlay-click="panelVisible = false"
>
This is an example
<template #footer>
<aeria-button large>Ok!</aeria-button>
</template>
</aeria-panel>
</template>Props
modelValueany?: ThemodelValueof this component is the state that determines whether or not the panel is showing. If falsy, the panel is hidden, otherwise it's showing.titlestring?: This property sets a text to be shown in the header section of the panel.floatboolean?: Will make the panel a modal.close-hintboolean?: This property determines that the panel will have a clickable icon that will close it.
Slots
header: This slot is a replacement for thetitleprop.footer: This slot renders a fixed section below the box content.
