The modal container's width can be adjusted by the width
prop. The default is set to optimal
, which is about 70 characters wide.
Note: this prop only applies to viewports equal to or above the small breakpoint (~600px).
Auto Width
Open Modal
This is a modal set to auto width.
Regular Width
Open Modal
This is a modal set to regular width.
Optimal Width
Open Modal
This is a modal set to optimal width.
Full Width
Open Modal
This is a modal set to full width.