Dialog | DialogDescription

DialogDescription#

Description#

  • Paragraph explaining what the dialog is about. Uses the system’s secondary text token (text-tx-muted).

Props#

  • No props accepted: it is a static text component.

Usage#

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<script setup lang="ts">
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription } from '@vasakgroup/vue-libvasak'
</script>

<template>
  <Dialog v-model:open="open">
    <DialogContent>
      <DialogHeader>
        <DialogTitle>Delete folder</DialogTitle>
        <DialogDescription>All contained files will be deleted. This action cannot be undone.</DialogDescription>
      </DialogHeader>
      <!-- content -->
    </DialogContent>
  </Dialog>
</template>