border-beam
Multi-tiered optical border beam engine, hairline razor edge strokes, inner and out glows, outer atmospheric aurora halos, and AI thinking indicators.
Skill by sudomadhatter
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sudomadhatter-border-beam
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/border-beam
What's inside
- Skill name
border-beam- Description
- Multi-tiered optical border beam engine, hairline razor edge strokes, inner and out glows, outer atmospheric aurora halos, and AI thinking indicators. Based on Jakub Antalík's Libraries.dev open-source architecture with custom 9-point radial gradient coordinates, SVG mask-composite sub-pixel precision, and 20px 2D canvas 3D-projected Thinking Orbs. Use when designing or implementing glowing border cards, buttons, drawers, inputs, or reasoning indicators.
- License
- MIT
- Instructions
- 194 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- THINKING_INDICATORS.md
SKILL.md (first lines)
# Border Beam & Optical Glows Engine
The single source of truth for **multi-tiered optical glows**, **boundary edge shimmers**, **aurora halos**, and **AI reasoning indicators** across the command center and projects.
Based on Jakub Antalík's open-source `Libraries.dev` architecture, this engine decouples illumination into three distinct optical tiers to achieve Apple-grade visual depth without pixel bleeding, crude conic gradient wheels, or mobile GPU thermal throttling.
Interactive visual catalog & live studio: [`docs/development_diagrams/ui_effects_and_thinking_icons.html`](../../docs/development_diagrams/ui_effects_and_thinking_icons.html).
Dedicated AI Thinking Indicators catalog: [`THINKING_INDICATORS.md`](THINKING_INDICATORS.md).
---
## 1. The Three-Tier Optical Architecture
Standard CSS borders or single-layer `box-shadow` effects appear flat and synthetic. Authentic optical presence requires three separate hardware-composited layers:
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ BORDER BEAM THREE-TIER HIERARCHY │
├─────────────────────────────────────────────────────────────────────────────┤
│ TIER 1: HAIRLINE EDGE STROKE (DOM: ::after, z-index: 2) │
│ • 1px razor-sharp sub-pixel stroke │
│ • Cut via mask-composite: intersect, exclude (or webkit-mask-composite: xor)│
│ • Renders 9-point radial-gradient coordinates with zero corner fuzziness │
├─────────────────────────────────────────────────────────────────────────────┤
│ TIER 2: GLOW LAYER (DOM: ::before, z-index: 1) - the code calls it "core" │
│ • Traveling beams and pulse-inner: the INNER GLOW, inset: 0, inside the edge│
│ • pulse-outside (the halo): the OUT GLOW, inset: -14px, behind the element, │
│ past the edge and in through the glass (strength: --beam-inner-opacity) │
│ • Say "inner glow" or "out glow" to the operator, never "core" │
├─────────────────────────────────────────────────────────────────────────────┤
│ TIER 3: OUTER ATMOSPHERIC BLOOM (DOM: [data-beam-bloom], z-index: 0) │
│ • Soft 28px–36px Gaussian-dispersed aurora field │
│ • Spills volumetric light into dark backgrounds │
│ • Driven by a shared ~30fps requestAnimationFrame cosine pulse loop │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## 2. Presets Decision Matrix
| Preset Code | Prop Key | Primary Target Surfaces | Optical Behavior |
|:---:|---|---|---|
| **[Bottom Rim Sweep]** *(★ Operator Favorite)* | `size="line"` / `travel="sweep"` | Chat input bars, search inputs, docked headers | Oscillating back-and-forth glide along the bottom edge with anti-phase flicker and edge fading |
| **[Perimeter Shimmer Loop]** | `size="line"` / `travel="loop"` | Interactive focal cards, modal frames, feature cards | Continuous 360° perimeter travel with slender Northern Lights curtain rays and multi-color auroral flicker |
| **[Circle Orbit]** *(★ Operator Favorite)* | `size="circle"` / `travel="orbit"` | Agent avatar halos, round CTA buttons, audio dials | Continuous 1px hairline laser beam traveling 360° around circular shapes |
| **[Edge Shimmer]** | `size="edge-shimmer"` | Docked drawer top rims, panel dividers, search inputs | Sweeps along a single horizontal border edge without enclosing the container |
| **[Halo]** | `size="pulse-outside"` | Specialist chat dialogs, hero spotlight cards | Edge ring, out glow (~14px past the edge, seen through the glass) and outer bloom (~42px) spilling onto the page |
| **[Pill]** | `size="sm"` | Action pills, launcher buttons, high-priority CTAs | Compact 1px perimeter highlight with hugging inner luminance |
| **[Inner]** | `size="pulse-inner"` | Secondary cards, inactive panels, telemetry gauges | Breaths slowly (6.0s) strictly inside container boundaries |
| **[Glass]** | `fx-smoked-glass` | Specialist chat backdrop, login gates, modals | 72% obsidian smoked glass pane over statically blurred brand emblem watermark |
### Code Recipes: Traveling Line (Loop & Ping-Pong) & Circle Orbit
```css
/* Shared Angle Property & Rotation Keyframes */
@property --beam-angle {
syntax: '<angle>';
initial-value: 0deg;
inherits: false;
}
@keyframes beam-travel-rotate {
0% { --beam-angle: 0deg; }
100% { --beam-angle: 360deg; }
}
/* Option 1: Traveling Perimeter Line (Full 360° Loop) */
.beam-travel-line {
position: relative;
}
.beam-travel-line::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
padding: 1.5px;
background: conic-gradient(
from var(--beam-angle, 0deg) at 50% 50%,
transparent 0deg,
transparent 270deg,
var(--beam-secondary, #0072ff) 305deg,
var(--beam-primary, #00c2ff) 345deg,
#ffffff 360deg
);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
animation: beam-travel-rotate var(--beam-speed, 6.0s) linear infinite;
z-index: 2;
}
/* Option 2: Back & Forth Ping-Pong Line (Horizontal Sweep) */
.beam-pingpong-line {
position: relative;
}
.beam-pingpong-line::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
padding: 1.5px;
background: radial-gradient(
ellipse 130px 45px at var(--pingpong-x, 50%) 50%,
#ffffff 0%,
var(--beam-primary, #00c2ff) 30%,
var(--beam-secondary, #0072ff) 65%,
transparent 85%
);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
z-index: 2;
}
/* Full Circle Orbit Beam (Avatars, Round CTAs) */
.beam-circle-orbit {
position: relative;From sudomadhatter/design-engineer-skills, MIT.
More from sudomadhatter/design-engineer-skills
- 0.565score
visual-fx-3d
sudomadhatter
Declarative 3D scenes, spatial models, gltfjsx pipeline, interactive spring tilt cards, 3D spatial materials, and real-time physics.
SkillAFreshness: AClaude Code +9 - 0.524score
apple-glass
sudomadhatter
Mobile-first Apple frosted glass and liquid glass effects for web and native mobile.
SkillBFreshness: BClaude Code +9 - 0.521score
vgpu
sudomadhatter
High-performance WebGPU shader engine using typed WGSL modules, fullscreen effect passes, GPU compute, audio-reactive ripples, and particle simulations.
SkillBFreshness: BClaude Code +9 - 0.519score
smh-designer
sudomadhatter
Activate Caterpillar (Lead Design Engineer) — Front-end craft, UI/UX ideation, fluid motion, and 3D/shader visual engineering.
SkillBFreshness: BClaude Code +9 - 0.518score
webm-alpha-video
sudomadhatter
Convert green-screen MP4 videos to WebM with true alpha transparency for floating UI elements
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 25, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from sudomadhatter
- 0.565score
visual-fx-3d
sudomadhatter
Declarative 3D scenes, spatial models, gltfjsx pipeline, interactive spring tilt cards, 3D spatial materials, and real-time physics.
SkillAFreshness: AClaude Code +9 - 0.524score
apple-glass
sudomadhatter
Mobile-first Apple frosted glass and liquid glass effects for web and native mobile.
SkillBFreshness: BClaude Code +9 - 0.521score
vgpu
sudomadhatter
High-performance WebGPU shader engine using typed WGSL modules, fullscreen effect passes, GPU compute, audio-reactive ripples, and particle simulations.
SkillBFreshness: BClaude Code +9 - 0.519score
smh-designer
sudomadhatter
Activate Caterpillar (Lead Design Engineer) — Front-end craft, UI/UX ideation, fluid motion, and 3D/shader visual engineering.
SkillBFreshness: BClaude Code +9 - 0.518score
webm-alpha-video
sudomadhatter
Convert green-screen MP4 videos to WebM with true alpha transparency for floating UI elements
SkillBFreshness: BClaude Code +9
Cite this page
border-beam skill. Agent Mart. https://agentmart.dev/skills/sudomadhatter-border-beam (last updated 2026-10-24)