alert-dialog
shadcn-vue/alert-dialogFreeComponent
shadcn-vue publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by shadcn-vue on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://shadcn-vue.com/r/styles/new-york/alert-dialog.jsonSource
1<script setup lang="ts">2import type { AlertDialogEmits, AlertDialogProps } from "reka-ui"3import { AlertDialogRoot, useForwardPropsEmits } from "reka-ui"45const props = defineProps<AlertDialogProps>()6const emits = defineEmits<AlertDialogEmits>()78const forwarded = useForwardPropsEmits(props, emits)9</script>1011<template>12 <AlertDialogRoot v-bind="forwarded">13 <slot />14 </AlertDialogRoot>15</template>
What it pulls in
npm packages
Other registry items
Files it writes
More from shadcn-vue
All 65 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| accordionaccordion | shadcn-vue | Components | Free | 2 deps · 5 files | |
| alertalert | shadcn-vue | Components | Free | no deps · 4 files | |
| aspect-ratioaspect-ratio | shadcn-vue | Components | Free | 1 dep · 2 files | |
| attachmentattachment | shadcn-vue | Components | Free | 1 dep · 10 files | |
| avataravatar | shadcn-vue | Components | Free | 2 deps · 4 files | |
| badgebadge | shadcn-vue | Components | Free | 2 deps · 2 files | |
| breadcrumbbreadcrumb | shadcn-vue | Components | Free | 1 dep · 8 files | |
| bubblebubble | shadcn-vue | Components | Free | 1 dep · 5 files |
