PixelPilot uiux-interactive.instructions.md

A set of instructions for designing interactive website elements. It covers image shapes, menus, dropdowns, date and time pickers, toggles, and buttons.

In plain words
What is it for?
Use it when building navigation menus, custom selects, date or time controls, toggles, buttons, and image layouts with deliberate hover and interaction states.
Why use it?
It helps avoid inconsistent browser defaults and gives interactive parts a consistent visual style. It also adds varied image shapes so pages do not rely only on square images.

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-interactive
Clone the repo
git clone --depth 1 https://github.com/dev-lou/PixelPilot

Made for: GitHub Copilot.

Per session 12,741 This file is loaded in full into every session.
When invoked 12,741 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.12741 $0.12741
Opus 5 $0.06370 $0.06370
Sonnet 5 $0.02548 $0.02548
Haiku 4.5 $0.01274 $0.01274

Measured yesterday against content hash 6cabadf21113, 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-interactive.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 yesterday.

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-interactive.instructions.md · 1,336 lines

How it starts

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

UI/UX Interactive Components 2026

Covers: image shape variants, mega-menu dropdowns (Tesla-style), navbar variants, custom selects/dropdowns/droptops, date & time pickers, toggles, and button systems — all per design language. No generic browser defaults anywhere.


STEP 27 — Image Shape Variants (Anti-flat, Unique Frames)

Rule: Never use only square images. Mix shapes per design language for visual rhythm. Each shape uses clip-path or border-radius — no extra wrapper divs needed.

Shape Library

/* ── BASIC ─────────────────────────────────────────── */
.img-square   { border-radius: 0; }
.img-rounded  { border-radius: var(--radius-lg); }
.img-pill     { border-radius: 9999px; }
.img-circle   { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

/* ── GEOMETRIC ──────────────────────────────────────── */
.img-hexagon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  aspect-ratio: 1; object-fit: cover;
}
.img-diamond {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  aspect-ratio: 1; object-fit: cover;
}
.img-triangle {
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  aspect-ratio: 1; object-fit: cover;
}
.img-pentagon {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  aspect-ratio: 1; object-fit: cover;
}
.img-star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
                     50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  aspect-ratio: 1; object-fit: cover;
}
.img-arch {
  border-radius: 999px 999px 0 0;
  aspect-ratio: 3/4; object-fit: cover;
}
.img-arch-bottom {
  border-radius: 0 0 999px 999px;
  aspect-ratio: 3/4; object-fit: cover;
}
.img-squircle {
  border-radius: 30%;
  aspect-ratio: 1; object-fit: cover;
}

/* ── ORGANIC / BLOB ─────────────────────────────────── */
/* Each blob is unique — use different ones for variety */
.img-blob-1 {
  clip-path: polygon(
    30% 0%, 70% 0%, 100% 30%, 100% 70%,
    70% 100%, 30% 100%, 0% 70%, 0% 30%
  );
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  aspect-ratio: 1; object-fit: cover;
}
.img-blob-2 {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  aspect-ratio: 1; object-fit: cover;
}
.img-blob-3 {
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  aspect-ratio: 1; object-fit: cover;
}

/* Animate blob on hover for expressive/warm */
.img-blob-animated {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  transition: border-radius 1.2s var(--ease-luxury);
  aspect-ratio: 1; object-fit: cover;
}
.img-blob-animated:hover {
  border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
}

/* ── EDITORIAL / POLAROID ────────────────────────────── */
.img-polaroid {
  padding: 12px 12px 40px;
  background: white;
  box-shadow: var(--shadow-md);
  border-radius: 2px;
  transform: rotate(-1.5deg);
  transition: transform var(--transition-base);
  display: inline-block;
}
.img-polaroid:hover { transform: rotate(0deg) scale(1.02); }
.img-polaroid img  { width: 100%; display: block; }

/* ── FRAME BORDER VARIANTS ──────────────────────────── */
.img-framed {
  padding: 6px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
}
.img-framed-offset {
  position: relative;
}
.img-framed-offset::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  pointer-events: none;
  transition: inset var(--transition-base);
}
.img-framed-offset:hover::after { inset: -12px; }

Read the full file on GitHub · 1,336 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. yesterday First seen · 1,336 lines · 12,741 tokens per session scan A 6cabadf21113

Subscribe to this mod's changes

PixelPilot uiux-interactive.instructions.md is an instructions file published in the GitHub repository dev-lou/PixelPilot (2 stars, last pushed 4mo ago), licensed MIT. It adds 12,741 tokens to every session, about $0.0637 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.