yonatangross avatar

Responsive Patterns

Responsive design patterns using container queries, fluid type, subgrid, and foldable layouts for React apps.

skills.sh installs
1.6K
GitHub stars
305
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers container queries, cqi/cqb units, fluid typography with clamp(), subgrid, intrinsic grids, and mobile-first breakpoints
  • Organizes guidance into 10 on-demand rule files across CSS layout, CSS, React, PWA, animation, and touch interaction
  • Enforces logical units (cqi/cqb over cqw/cqh), rem-based fluid type, and mobile-first CSS, and forbids over-nested container queries
  • Designed for React projects building reusable components that adapt to sidebars, modals, grids, and foldable screens

Install

$ npx -y skills add yonatangross/orchestkit --skill responsive-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Responsive Patterns

Modern responsive design patterns using Container Queries, fluid typography, and mobile-first strategies for React applications (2026 best practices).

Overview

  • Building reusable components that adapt to their container
  • Implementing fluid typography that scales smoothly
  • Creating responsive layouts without media query overload
  • Building design system components for multiple contexts
  • Optimizing for variable container sizes (sidebars, modals, grids)

Core Concepts

Container Queries vs Media Queries

FeatureMedia QueriesContainer Queries
Responds toViewport sizeContainer size
Component reuseContext-dependentTruly portable
Browser supportUniversalBaseline 2023+
Use casePage layoutsComponent layouts

Modern CSS Layout

Load Read("rules/css-subgrid.md") for CSS Subgrid patterns: nested grid alignment, card layouts with aligned titles/content/actions, two-dimensional subgrid.

Details

Repository
github.com/yonatangross/orchestkit
Categories
Frontend & UI Code, Design & UI/UX
First seen
May 16, 2026

More from yonatangross/orchestkit

All 55

Similar to Responsive Patterns

More Frontend & UI Code