onewave-ai avatar

Responsive Layout Builder

This gives you ready-to-use patterns for the most common responsive layouts: holy grail, card grids, sidebars, hero sections, and masonry. It includes both Tailwind and plain CSS examples, which is helpful when you're jumping between projects. The mobile-first approach is baked into every pattern, and you get practical breakpoint guidelines based on Tailwind's defaults. The flexbox versus grid decision table is actually useful when you're staring at a layout trying to figure out which tool to reach for. Container queries are in here too, though browser support might still be a consideration depending on your audience. The testing checklist at the end with actual device widths beats guessing at breakpoints.

skills.sh installs
370
GitHub stars
422
last updated
Aug 21, 2026

Install

$ npx -y skills add onewave-ai/claude-skills --skill responsive-layout-builder --agent claude-code

Installs into .claude/skills of the current project.

Files

Responsive Layout Builder

Instructions

When building responsive layouts:

  1. Identify the layout pattern (grid, sidebar, cards, etc.)
  2. Start mobile-first
  3. Use appropriate CSS technique (Grid vs Flexbox)
  4. Add breakpoints for larger screens
  5. Test across viewports

Breakpoints

/* Tailwind defaults */
sm: 640px   /* Small devices */
md: 768px   /* Tablets */
lg: 1024px  /* Laptops */
xl: 1280px  /* Desktops */
2xl: 1536px /* Large screens */

/* Custom CSS */
@media (min-width: 640px) { }
@media (min-width: 768px) { }
@media (min-width: 1024px) { }

Common Layout Patterns

1. Holy Grail Layout

// Tailwind CSS
<div className="min-h-screen flex flex-col">
  <header className="h-16 bg-white border-b">Header</header>

  <div className="flex-1 flex">
    <aside className="hidden md:block w-64 bg-gray-50 border-r">
      Sidebar
    </aside>
    <main className="flex-1 p-6">
      Main Content
    </main>
  </div>

  <footer className="h-16 bg-white border-t">Footer</footer>
</div>
/* Plain CSS */
.layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

Sponsors

Details

Repository
github.com/onewave-ai/claude-skills
Categories
Frontend Development, DevOps & CI/CD, Mobile Development
First seen
Jun 3, 2026

More from onewave-ai/claude-skills

All 108
1oguzhan18 avatarangular-tailwindoguzhan18/angular-ecosystem-skillsALWAYS use when working with Angular and Tailwind CSS, Tailwind configuration, utility-first CSS, or styling Angular applications with Tailwind.245skills.sh installs
2am-will avatarFrontend Responsive Design Standardsam-will/codex-skillsBuild responsive, mobile-first layouts using fluid containers, flexible units, media queries, and touch-friendly design that works across all screen sizes. Use 0skills.sh installs
3analogjs avatarangular-componentanalogjs/angular-skillsCreate modern Angular standalone components following v20+ best practices. Use for building UI components with signal-based inputs/outputs, OnPush change detect11.7Kskills.sh installs
4nank1ro avatarshadcn-ui-flutternank1ro/flutter-shadcn-uiA comprehensive Flutter UI library inspired by shadcn/ui. Provides high-quality, customizable, and accessible components including Buttons, Cards, Forms, and mo720skills.sh installs
5aj-geddes avatarreact-component-architectureaj-geddes/useful-ai-promptsDesign scalable React components using functional components, hooks, composition patterns, and TypeScript. Use when building reusable component libraries and ma683skills.sh installs
6onewave-ai avatarreact-component-generatoronewave-ai/claude-skillsGenerate React components with TypeScript, proper props, hooks, and accessibility. Use when creating new React components, UI elements, or refactoring existing 332skills.sh installs