How to toggle
1
Preview toolbar → Layout dropdown
Pick “Single”, “Mobile + Desktop”, or “All three”.
2
Resize each pane independently
Drag the divider to fine-tune. The preview re-renders at the new width.
3
Lock to a breakpoint
Click the breakpoint name to lock — useful for screenshot-perfect testing at exactly 375px or 1280px.
Default breakpoints
Customize in your project’s preview settings if your app targets different breakpoints.
Responsive design tips
Design mobile-first
Tailwind’s default breakpoints are mobile-first. Start with no prefix; layer
md: and lg: for larger screens.Use Container queries when scoped
For components that should adapt to their parent (not the viewport), use Tailwind’s
@container queries.Test on real devices
The preview is good but not perfect — different OS browsers (mobile Safari, mobile Chrome) have quirks. Test on a real phone before launch.
Watch font sizes
Mobile body should be 16px+ to avoid iOS auto-zoom on form fields.
Common responsive prompts
Related
Tailwind config
Customize breakpoints.
Design systems
The broader system.
Visual edits
Click-to-edit on the canvas.
