Skip to content

Commit 9a3b801

Browse files
committed
docs(modal): explain difference with ComposedModal
Closes #784
1 parent bcdd28e commit 9a3b801

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/src/pages/components/Modal.svx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
The `Modal` component provides a focused dialog for user interactions, confirmations, or data entry. It supports various sizes, states, and customization options to create accessible and user-friendly modal experiences.
66

7+
**Modal vs ComposedModal**
8+
9+
`Modal` is an all-in-one component configured through props, making it ideal for standard modal dialogs. For more complex layouts or fine-grained control, use [ComposedModal](/components/ComposedModal) instead.
10+
711
## Default
812

913
Display a modal dialog with a header, content area, and footer by default.

0 commit comments

Comments
 (0)