ModalFree
A centred dialog over a blurred backdrop; Esc or a click outside closes it.
Props
Appearance
Applies to this component only and stays saved when you come back.
#ff3347
#b3122a
Preview background
Install
$
npx nex-ui add modalUsage
import { Modal } from "@/components/nex-ui/modal";
<Modal
trigger="Open dialog"
title="Publish changes?"
text="Your edits go live for everyone right away."
confirm="Publish"
cancel="Cancel"
/>