responsive-design

Teach container queries, fluid typography, and grid-based layouts for responsive UI components.

Updated Oct 13, 2025
One-click install
npx skills add https://github.com/Devinga-com-br/bi-saas --skill responsive-design-devinga-com-br
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: responsive-design
Source: https://github.com/Devinga-com-br/bi-saas/tree/main/.agents/skills/responsive-design
Command: npx skills add https://github.com/Devinga-com-br/bi-saas --skill responsive-design-devinga-com-br

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires , and includes references (resource) components.

What problem does it solve?

This Skill enables creating interfaces that gracefully adapt across devices by combining container queries, fluid typography, and flexible layout systems.

Core Features & Use Cases

  • Container-aware components that resize and reflow based on their own container rather than the viewport.
  • Fluid typography and spacing that scale smoothly with screen size for a consistent design system.
  • Practical patterns for CSS Grid, Flexbox, and responsive images to build robust, mobile-first UIs.

Quick Start

To begin, implement a card component that uses a container for layout changes and apply font sizes with clamp() for fluid typography.

Frequently Asked Questions about responsive-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use container queries to build responsive UI components?

Container queries enable truly responsive UI components by adapting layouts based on their parent container size rather than the viewport. This Skill provides practical patterns for container-aware components that resize and reflow dynamically within varying contexts.

What's the best way to implement fluid typography in a design system?

Fluid typography scales smoothly across screen sizes using CSS clamp() for min/max font boundaries. This approach maintains consistent visual hierarchy in design systems by applying fluid type scales that adapt to varying viewport contexts without manual breakpoints.

Does this approach work for mobile-first dashboards and component libraries?

Yes, container queries and flexible grid-based layouts apply directly to design systems, component libraries, and mobile-first dashboards. Components adapt independently to their container, ensuring robust responsive behavior across complex dashboard grids and nested library structures.

How do CSS Grid and Flexbox patterns handle responsive images?

CSS Grid and Flexbox patterns manage responsive images by combining fluid spacing with container-aware layouts. This Skill teaches practical grid-based layout strategies to ensure images reflow and resize appropriately within flexible, mobile-first interface structures.

When do I need container queries instead of traditional viewport breakpoints?

Container queries are needed when a component's layout must adapt to its parent container rather than the overall viewport, such as in nested design systems or sidebars. They solve reflow challenges where traditional breakpoints fail to handle varying component contexts.

How do min and max spacing constraints improve responsive layouts?

Min and max spacing constraints prevent layout collapse and excessive stretching by defining flexible boundaries. Combined with fluid typography and CSS Grid, they ensure responsive UIs maintain structural integrity and consistent spacing across all viewport sizes.