Below are the respective implementations for all modal examples, categorized by size, placement, and transitions.
Modals in AueraUI support various sizes to fit different use cases.
An extra-large modal for complex interfaces or extensive content.
overlays/modal/size-xl.tsx
Modals can be positioned at different locations on the screen.
Appears at the bottom of the screen, often used for mobile-friendly modals.
overlays/modal/placement-bottom.tsx
Modals support different transition effects for smooth animations.
A smooth 'walk-in' effect where the modal gradually appears.
overlays/modal/transition-walkIn.tsx
The radius property defines the border-radius of modals, allowing for smooth and rounded corners. Different sizes provide varying levels of curvature to enhance the visual appeal of modals.
The medium radius applies a subtle rounding to modal corners, providing a slight softness without excessive curvature. Ideal for maintaining a balanced and modern look.
overlays/modal/radius-md.tsx
The large radius increases the curvature of modal corners, creating a more pronounced rounded effect. This is useful for a softer, more approachable UI design.
overlays/modal/radius-lg.tsx
Extra-large radius gives modals a highly rounded appearance, making them feel more fluid and organic. Suitable for designs emphasizing smoothness and elegance.
overlays/modal/radius-xl.tsx
The 2x large radius applies an even more pronounced curvature, giving modals a pill-like appearance. This style works well in designs that favor a softer, friendly aesthetic.
overlays/modal/radius-2xl.tsx
The 3x large radius provides the most extreme rounding, making modals appear almost fully rounded at the edges. This effect is ideal for highly stylized, modern, and playful UI elements.
overlays/modal/radius-3xl.tsx
This section covers the structure of modal overlays and general containers.
The Modal Container is responsible for managing and rendering all modal overlays within the application. It ensures that modals are properly layered, positioned, and controlled.
overlays/modal/container.tsx
The Container serves as the main wrapper for all overlays in the application, including modals and drawers This ensures that they are properly managed within the broader UI structure.
overlays/containertsx