Did you know?dyk.si

Responsive Breakpoints

The widths at which a layout changes shape: phone, tablet, desktop.

@media (min-width: …) / @container

When to use it

On every product that runs on more than one screen size.

Common mistake

Don’t design for specific devices; break where content needs it.

Accessibility

Test zoom at 200% too; breakpoints affect zoomed users.

Name in code

HTML/CSS@media (min-width: …) / @container
ReactTailwind sm: md: lg:
Jetpack ComposeWindowSizeClass
SwiftUIhorizontalSizeClass / ViewThatFits

Ready prompt for your coding agent

Add a Responsive Breakpoints to this screen. What it is: The widths at which a layout changes shape: phone, tablet, desktop. Implement with: @media (min-width: …) / @container (HTML/CSS). Accessibility: Test zoom at 200% too; breakpoints affect zoomed users. When to use it: On every product that runs on more than one screen size. Avoid: Don’t design for specific devices; break where content needs it. Reuse the project's existing design tokens, spacing and component conventions.

Or compose a whole page from this element and others →

Prompts are in English for the most precise results with coding agents.