Open Source·2024

Tailwind Debug Breakpoints

A Tailwind CSS plugin that shows the active responsive breakpoint. Status: not maintained.

ToolingTypeScriptDesign Systems
Visit live project

Tailwind Debug Breakpoints is a Tailwind CSS plugin that displays the currently active screen, so you can see which responsive breakpoint applies while you build.

Why it exists

Responsive work means resizing the window and guessing whether md or lg is in effect. A small label in the corner of the page answers that at a glance, and it disappears when you remove one class.

How you use it

Install it as a dev dependency with npm, Yarn or pnpm (pnpm add -D tailwind-debug-breakpoints), register the plugin in your Tailwind config, then add the class debug-breakpoints to the body element. The configuration lets you set the label's position, corner radius and whether it also prints the screen size.

Status

Not maintained. The repository has four commits, all from 16 April 2024. It targets the Tailwind CSS version of that time, so check compatibility with v4.