responsive-design

Build responsive interfaces with container queries, fluid typography, and grid layouts.

3|1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/duanbiao2000/obsidianDoc26 --skill responsive-design-duanbiao2000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: responsive-design
Source: https://github.com/duanbiao2000/obsidianDoc26/tree/main/agents-main/plugins/ui-design/skills/responsive-design
Command: npx skills add https://github.com/duanbiao2000/obsidianDoc26 --skill responsive-design-duanbiao2000

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill makes it easier to build responsive interfaces that work across devices and contexts by leveraging container queries, fluid typography, grid-based layouts, and a mobile-first mindset.

Core Features & Use Cases

  • Container Queries: component-level responsiveness that adapts to container size.
  • Fluid Typography & Spacing: scalable type and spacing via clamp() and viewport units.
  • Layout Patterns: robust grids and flex layouts for complex UIs and design systems.
  • Breakpoint Strategy: content-driven and token-based breakpoints to reduce device dependencies.
  • Use Case: implement adaptive dashboards, responsive navigation, and scalable component libraries.

Quick Start

Create a responsive card component that uses a container query to switch layout between stacked and side-by-side based on container width.

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 for component-level responsive layouts?

Container queries enable component-level responsive layouts by adapting to the container's width rather than the viewport. This Skill helps you build UI components that reflow gracefully using container size, allowing elements like cards to switch between stacked and side-by-side layouts independently of the page.

What's the best way to implement fluid typography with clamp()?

Fluid typography uses the clamp() function with viewport units to scale text seamlessly across breakpoints. This Skill provides patterns for applying clamp-based calculations to scale type and spacing dynamically, ensuring readability on any device without relying on fixed media queries.

How do I create content-driven breakpoints for a design system?

Content-driven breakpoints trigger layout changes based on content dimensions rather than specific device widths. This Skill applies token-based breakpoint strategies to reduce device dependencies, ensuring your design system components adapt gracefully across any screen size.

Does this approach support legacy browsers without container queries?

Yes, this approach includes resilient fallbacks for legacy browsers that lack container query support. The Skill ensures responsive interfaces degrade gracefully by providing robust grid and flex layout patterns that maintain functionality across older environments.

Can I use CSS Grid to build adaptive dashboards that reflow across breakpoints?

Yes, you can use CSS Grid to build adaptive dashboards that reflow across breakpoints. This Skill provides robust grid layout patterns combined with a mobile-first mindset to construct complex UIs where components adapt their layout dynamically to available space.