PixelPilot uiux-layouts.instructions.md

A set of responsive web page layout patterns using CSS Grid and Flexbox. It includes floating cards, overlapping hero images, full-width sections, diagonal splits, masonry grids, and dashboard widgets.

In plain words
What is it for?
Use it to build landing pages, login and onboarding screens, image-led hero sections, masonry galleries, and dashboard layouts that adapt to screen size.
Why use it?
It gives developers established structures for arranging content when a basic single-column page is not enough.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/dev-lou/pixelpilot/uiux-layouts
Clone the repo
git clone --depth 1 https://github.com/dev-lou/PixelPilot

Made for: GitHub Copilot.

Per session 1,492 This file is loaded in full into every session.
When invoked 1,492 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01492 $0.01492
Opus 5 $0.00746 $0.00746
Sonnet 5 $0.00298 $0.00298
Haiku 4.5 $0.00149 $0.00149

Measured 2d ago against content hash 206898aa87d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

PixelPilot uiux-layouts.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vscode/.github/instructions/uiux-layouts.instructions.md · 246 lines

How it starts

The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI/UX Layout Patterns 2026

Advanced responsive layouts, CSS Grid/Flexbox strategies, diagonal sections, masonry grids, and interactive dashboard widget systems.


1. FLOATING CENTRED CARD (The "Focus" Layout)

Use for login, onboarding, or single-action landing pages.

<div class="layout-focus">
  <div class="card card--floating">
    <!-- Content -->
  </div>
</div>
.layout-focus {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--space-6);
  background: var(--bg);
  background-image: var(--gradient-mesh);
}

.card--floating {
  width: 100%;
  max-width: 480px;
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  animation: float-in var(--dur-slow) var(--ease-spring);
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

2. HERO WITH OFFSET IMAGE

A dynamic hero section where the image breaks the container or overlaps content.

<section class="hero-offset container">
  <div class="hero-offset__content">
    <h1 class="text-hero">Design the Future</h1>
    <p class="text-lg">Premium UI/UX systems for 2026.</p>
  </div>
  <div class="hero-offset__media">
    <picture>
      <source srcset="hero.avif" type="image/avif">
      <img src="hero.jpg" alt="Hero Image" loading="eager" fetchpriority="high">
    </picture>
  </div>
</section>
.hero-offset {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--section-space-lg);
}

@media (min-width: 1024px) {
  .hero-offset {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .hero-offset__media {
    transform: translateX(var(--space-12));
    z-index: 2;
  }
}

3. DIAGONAL SPLIT SECTION (Clip-Path)

Use to break the "boxy" feel of standard web layouts.

.section--diagonal {
  position: relative;
  background: var(--surface);
  padding-block: var(--section-space-lg);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  margin-block: calc(var(--section-space-lg) * -0.5);
}

/* Ensure content stays upright */
.section--diagonal > .container {
  clip-path: none;
}

Read the full file on GitHub · 246 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 246 lines · 1,492 tokens per session scan A 206898aa87d9

Subscribe to this mod's changes

PixelPilot uiux-layouts.instructions.md is an instructions file published in the GitHub repository dev-lou/PixelPilot (2 stars, last pushed 4mo ago), licensed MIT. It adds 1,492 tokens to every session, about $0.0075 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

UIX CLAUDE.md

Instructions for Deepractice/UIX, covering uix project rules, design system: lucid ui, colors, forbidden and preferred patterns.

Deepractice/UIX · 365 tokens

wonder-blocks frontend-rules.instructions.md

Wonder Blocks design system conventions, component patterns, and coding standards.

Khan/wonder-blocks · 3,560 tokens

openbridge-webcomponents building-blocks.instructions.md

Instructions for Ocean-Industries-Concept-Lab/openbridge-webcomponents, covering building blocks & svg helpers, agent safety rules (context + mirroring), packages/openbridge-webcomponents/src/building-blocks/ and packages/openbridge-webcomponents/src/svghelpers/.

Ocean-Industries-Concept-Lab/openbridge-webcomponents · 2,554 tokens

naksha-studio copilot-instructions.md

Instructions for Adityaraj0421/naksha-studio, covering naksha design team — github copilot, activation triggers, the design team, design rules for code generation and css custom properties (always use these patterns).

Adityaraj0421/naksha-studio · 2,453 tokens

lovable-boilerplate design.instructions.md

Instructions for chihebnabil/lovable-boilerplate, covering design system guidelines, critical design rules, never create, always create and core design philosophy.

chihebnabil/lovable-boilerplate · 4,058 tokens

tidyfactor-design AGENTS.md

Instructions for alwkala/tidyfactor-design, covering ⚡ skill & 24 modular slash commands (7 lifecycle stages) and critical architecture (non-negotiable).

alwkala/tidyfactor-design · 1,894 tokens