PixelPilot uiux-content-components.instructions.md

A collection of interface recipes for elements such as tooltips, popovers, carousels, video players, lightboxes, ratings, progress bars, steppers, and code blocks.

In plain words
What is it for?
Use it when building web interfaces that need these content and navigation components.
Why use it?
It provides ready-to-adapt HTML and CSS patterns for common interactive content instead of designing each component from scratch.

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

Made for: GitHub Copilot.

Per session 1,652 This file is loaded in full into every session.
When invoked 1,652 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.01652 $0.01652
Opus 5 $0.00826 $0.00826
Sonnet 5 $0.00330 $0.00330
Haiku 4.5 $0.00165 $0.00165

Measured 2d ago against content hash 138614cb5f46, 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-content-components.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-content-components.instructions.md · 264 lines

How it starts

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

UI/UX Content Components 2026

Tooltips, popovers, carousels, video players, lightboxes, avatars, ratings, progress bars, steppers, and code blocks.


1. TOOLTIP (Delay & Positioning)

<button class="btn btn--icon" data-tooltip="Search (⌘K)">
  <i data-lucide="search"></i>
</button>
.tooltip {
  position: absolute;
  background: var(--text);
  color: var(--bg);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-out);
  z-index: 1000;
}

.tooltip.visible { opacity: 1; }

2. POPOVER (Rich Content & Arrow)

<div class="popover" role="dialog" aria-modal="true">
  <div class="popover__content">
    <h3>Notifications</h3>
    <p>You have 3 new messages.</p>
  </div>
  <div class="popover__arrow"></div>
</div>
.popover {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
  z-index: 1000;
}

.popover__arrow {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
  top: -5px; left: 50%;
  margin-left: -4px;
}

<div class="swiper">
  <div class="swiper-wrapper">
    <div class="swiper-slide">Slide 1</div>
    <div class="swiper-slide">Slide 2</div>
  </div>
  <div class="swiper-pagination"></div>
  <div class="swiper-button-prev"></div>
  <div class="swiper-button-next"></div>
</div>
.swiper-slide {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--accent);
}

4. VIDEO PLAYER WRAPPER (Custom Controls)

Read the full file on GitHub · 264 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 · 264 lines · 1,652 tokens per session scan A 138614cb5f46

Subscribe to this mod's changes

PixelPilot uiux-content-components.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,652 tokens to every session, about $0.0083 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.