Dev Design Library

Modal

Dialog overlay for focused user interactions and important content.

Modal preview
Library
HeroUI
Framework
React
Type
component
License
Apache-2.0
Install
npm install @heroui/react
Files
  • packages/react/src/components/modal/index.ts
  • packages/react/src/components/modal/modal.tsx
  • packages/react/src/hooks/use-overlay-state.ts
  • packages/react/src/utils/dom.tsx
  • packages/react/src/components/surface/index.ts
  • packages/styles/src/index.ts
  • packages/react/src/utils/compose.ts
  • packages/react/src/utils/use-overlay-exit-hold.ts
Source
https://github.com/heroui-inc/heroui

Categories

More from HeroUI