<div class="bg-gray-400 p-2 flex">
<div class="flex-1 bg-teal-400">One</div>
<div class="flex-1 bg-teal-400">Two</div>
</div>
<div class="bg-gray-400 p-2 flex">
<div class="flex-1 bg-teal-400">One</div>
<div class="flex-1 bg-teal-400">Two</div>
</div>
.flex {
display: flex;
}
Browse ready-made Tailwind components that use this class.
Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.
© 2026 Shuffle. All rights reserved.