PrimeFlex is a lightweight responsive CSS utility library to accompany Prime UI libraries and static webpages as well.
—
Quality
Pending
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Overflow utilities control how content behaves when it exceeds the boundaries of its container. PrimeFlex provides utilities for controlling overflow behavior on both axes.
Controls the overflow behavior for both horizontal and vertical axes.
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }Controls overflow behavior specifically for the horizontal axis.
.overflow-x-auto { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-x-visible { overflow-x: visible; }
.overflow-x-scroll { overflow-x: scroll; }Controls overflow behavior specifically for the vertical axis.
.overflow-y-auto { overflow-y: auto; }
.overflow-y-hidden { overflow-y: hidden; }
.overflow-y-visible { overflow-y: visible; }
.overflow-y-scroll { overflow-y: scroll; }<!-- Scrollable container with auto overflow -->
<div class="overflow-auto h-4 w-full">
<div class="h-8">Content that exceeds container height</div>
</div>
<!-- Hide overflow for cropped content -->
<div class="overflow-hidden">
<img src="large-image.jpg" class="w-full" />
</div>
<!-- Horizontal scroll only -->
<div class="overflow-x-scroll overflow-y-hidden">
<div class="w-screen">Wide content that scrolls horizontally</div>
</div>All overflow utilities support responsive variants:
sm:overflow-hidden - Hidden overflow on small screens and upmd:overflow-auto - Auto overflow on medium screens and uplg:overflow-scroll - Scroll overflow on large screens and upxl:overflow-visible - Visible overflow on extra large screens and upInstall with Tessl CLI
npx tessl i tessl/npm-primeflex