Skip to main content

Dialog

Confirmation and alert dialogs for prompting user decisions or displaying important messages.

note

Dialog is an alias for the Modal component. All Modal props and behavior apply to Dialog as well.

Import​

import { Modal } from '@scaffald/ui';

Basic Usage​

Live Preview
<ThemeProvider initialTheme="light">
<Text>Dialog is exported as Modal. See the Modal component for usage.</Text>
</ThemeProvider>

Props​

See the TypeScript definitions for the complete props API.

Accessibility​

  • Keyboard navigation support
  • Screen reader compatible
  • ARIA attributes included

Changelog​

See GitHub Releases for version history.