UI SKILLBOOK

Skill / Layout / Design Systems / Visual / External

prefer-container-queries

Enforce Tailwind container queries over viewport breakpoints for responsive components. Use when writing or reviewing responsive Tailwind code, when a component needs to adapt to its available space (cards, sidebars, lists, panels, anything reused in different layouts), or when migrating sm:/md:/lg: classes to @container variants.

by flornkm

Works with

Universal

Hosted in an external repository

This skill's full instructions live in its source repository, not on UI Skillbook. Open it on GitHub to read it, or copy a prompt that points your agent straight at it.

View on GitHub ↗