Minimum width belongs to the element that must remain usable. A minimum on a parent can unnecessarily force the entire page to scroll.
Worked example
<div class="demo inline-block min-w-40">Minimum inline size</div>Implementation notes
Nested minimum widths compound quickly. Check the child, the flex item and the sidebar before assigning overflow to the page.
Try it yourself
Test the component inside a narrow sidebar.
Open the Tailwind CSS example →Editorial date July 4, 2026 · Published December 6, 2026