Note: Maintains aspect ratio while being responsive. Useful for images and video containers.
Note: Use CSS aspect-ratio property or custom styling with padding-bottom hack.
Note: Fundamental building block with sx prop for styling.
Note: Use Tailwind container class or custom max-width wrapper.
Lg maxwidth
set height 200px
Sm maxwidth
set height 200px
Note: Responsive container with predefined max-width breakpoints.
Note: Use Tailwind grid classes (grid, grid-cols-*, gap-*) for CSS Grid layouts.
Note: Combine CSS Grid/Flexbox with ScrollArea for image galleries.
Note: Very lovely component with great use of maps. Good applications for gallery (rather than the scroll component from shad)
Note: Provides custom styled scrollbars with smooth scrolling behavior. Good for constrained content areas.
Note: Use native browser scrollbars or custom CSS overflow styling.
Note: Use Tailwind flex classes (flex, flex-col, gap-*) for stacking layouts.
Note: Pretty much the same as a flex-col. You can throw in a 'direction' prop to make it a row.