Responsive Design for Openclaw

An AI agent skill providing production-ready responsive CSS patterns, including container queries, fluid typography, and mobile-first strategies.

wpank
v1.0.0
Feb 10, 2026
0
2.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install responsive-design

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install responsive-design using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Responsive Design?

The Responsive Design skill equips developers with a comprehensive suite of modern layout techniques designed for the contemporary web. It moves beyond traditional media queries to include component-level responsiveness via container queries, fluid scaling using the CSS clamp function, and sophisticated layout patterns with CSS Grid and Flexbox. By integrating these patterns, you can ensure your web applications adapt seamlessly to any screen size or container context, significantly improving both performance and user experience. As part of the Openclaw Skills ecosystem, it streamlines the process of building high-quality, adaptive interfaces with a mobile-first mindset.

Responsive Design Use Cases

  • Building layouts that adapt fluidly across various screen sizes and mobile devices.
  • Creating reusable UI components that respond to their parent container size rather than the viewport.
  • Implementing fluid typography and spacing scales for consistent, scalable design systems.
  • Setting up complex responsive grid systems and named area layouts for dashboards.
  • Developing mobile-friendly navigation patterns and responsive data tables.
  • Optimizing media and images for different resolutions and art directions.

How Responsive Design Works

  1. The skill establishes a standardized mobile-first breakpoint scale to define base styles for smaller screens before enhancing for desktop.
  2. It implements container queries to allow components to modify their layout based on the specific parent width, enabling truly modular UI.
  3. Fluid typography and spacing are generated using clamp formulas to scale smoothly between defined minimum and maximum values.
  4. Responsive layout structures are applied using CSS Grid auto-fit and named area transitions across breakpoints.
  5. Specific UI patterns like navigation menus and data tables are transformed into mobile-optimized versions using toggle logic or card layouts.
  6. Modern viewport units like dvh and svh are utilized to ensure layouts account for dynamic mobile browser interface elements.

Responsive Design Setup

To add this skill to your agent, run the following command in your terminal:

npx clawhub@latest install responsive-design

Ensure your project environment is configured to support modern CSS features such as container queries and dynamic viewport units to take full advantage of these Openclaw Skills patterns.

Responsive Design Data Schema & Taxonomy

The skill organizes its responsive patterns and metadata into clear technical categories for easy implementation:

Category Description
Breakpoint Scale Mobile-first definitions from sm (640px) to 2xl (1536px)
Fluid Scales CSS Custom Properties for text-xs through text-4xl and space-xs through space-xl
Layout Templates CSS Grid auto-fit, named areas, and Flexbox patterns
Media Patterns Picture-based art direction and srcset resolution switching schemes
Viewport Logic Implementation of dvh, svh, and lvh units for mobile UI handling

Responsive Design Advanced Features

  • Full compatibility with Tailwind CSS container query plugins and responsive utility classes.
  • Component-level responsiveness that allows elements to behave correctly regardless of where they are placed in a layout.
  • Support for dynamic viewport units to solve common mobile browser address bar height issues.
  • Logical properties implementation to ensure layouts are ready for internationalization (RTL/LTR).
  • Advanced CSS Grid patterns that redefine layout areas dynamically across different screen sizes.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*