Reduce Bundle Size
kcsujeet/ilamy-calendar
Systematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs.
Create React loading, processing, selected, current, focus, and pressed states with the border-beam package's animated edge glow.
$ npx skills add boraoztunc/skills --skill beam-glow-states -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install boraoztunc/skills beam-glow-states --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/boraoztunc/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/beam-glow-states .claude/skills/beam-glow-states && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "beam-glow-states" agent skill from https://github.com/boraoztunc/skills/tree/main/beam-glow-states into .claude/skills/beam-glow-states/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beam-glow-states", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/boraoztunc/skills/tree/main/beam-glow-statesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add boraoztunc/skills --skill beam-glow-states -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install boraoztunc/skills beam-glow-states --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/boraoztunc/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/beam-glow-states .agents/skills/beam-glow-states && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "beam-glow-states" agent skill from https://github.com/boraoztunc/skills/tree/main/beam-glow-states into .agents/skills/beam-glow-states/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beam-glow-states", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add boraoztunc/skills --skill beam-glow-states -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install boraoztunc/skills beam-glow-states --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/boraoztunc/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/beam-glow-states .cursor/skills/beam-glow-states && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "beam-glow-states" agent skill from https://github.com/boraoztunc/skills/tree/main/beam-glow-states into .cursor/skills/beam-glow-states/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beam-glow-states", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/boraoztunc/skills.git --path beam-glow-states--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add boraoztunc/skills --skill beam-glow-states -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install boraoztunc/skills beam-glow-states --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/boraoztunc/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/beam-glow-states .gemini/skills/beam-glow-states && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "beam-glow-states" agent skill from https://github.com/boraoztunc/skills/tree/main/beam-glow-states into .gemini/skills/beam-glow-states/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beam-glow-states", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install boraoztunc/skills beam-glow-statesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add boraoztunc/skills --skill beam-glow-states -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/boraoztunc/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/beam-glow-states .github/skills/beam-glow-states && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "beam-glow-states" agent skill from https://github.com/boraoztunc/skills/tree/main/beam-glow-states into .github/skills/beam-glow-states/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beam-glow-states", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add boraoztunc/skills --skill beam-glow-states -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install boraoztunc/skills beam-glow-states --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/boraoztunc/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/beam-glow-states .opencode/skills/beam-glow-states && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "beam-glow-states" agent skill from https://github.com/boraoztunc/skills/tree/main/beam-glow-states into .opencode/skills/beam-glow-states/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "beam-glow-states", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
beam-glow-statesCreate React loading, processing, selected, current, focus, and pressed states with the border-beam package's animated edge glow.
Beam Glow States is an agent skill from boraoztunc/skills. Create React loading, processing, selected, current, focus, and pressed states with the border-beam package's animated edge glow. Use when a card, button, input, tab, option, task panel, or agent surface needs a restrained traveling or breathing beam; includes installation, imports, prop selection, state wiring, reduced motion, accessibility, and performance and layout guardrails.
Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `REFERENCES.md`).
It sits in Frontend & Design. It works with React. The repository describes itself as: Claude Code skills for copywriting, SEO, design, and more. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 645553c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmpnpmyarnbunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, pnpm and yarn, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Beam Glow States loads about 3.2k tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 1,176 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from boraoztunc/skills at commit 645553c, republished under its Apache-2.0 licence (© boraoztunc). 1,176 words, ~3,184 tokens.
.claude/skills/beam-glow-states/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use the beam as a decorative state accent. Keep the state understandable through text, shape, contrast, and the correct semantic attribute when the animation is absent.
The API below was verified against border-beam 1.3.0. Recheck the official README and exported types when the installed version changes.
Install the same package with the repository's package manager:
npm install border-beam
pnpm add border-beam
yarn add border-beam
bun add border-beamThe package requires React and React DOM 18 or newer. It ships ESM, CommonJS, and TypeScript declarations. It injects component-scoped styles, so do not import a separate CSS file.
Prefer the named import:
import { BorderBeam } from "border-beam";
import type {
BorderBeamProps,
BorderBeamSize,
BorderBeamTheme,
BorderBeamColorVariant,
} from "border-beam";The default component export is also supported:
import BorderBeam from "border-beam";In a Next.js App Router project, render it from a client component because it uses React state, effects, observers, and animation frames:
"use client";
import { BorderBeam } from "border-beam";size | Motion | Best use |
|---|---|---|
sm | Compact traveling border | Icon buttons, pills, compact controls |
md | Full traveling border | Selected cards, current panels, primary active surfaces |
line | Traveling bottom edge | Search, prompt, input, progress, or command surfaces |
pulse-inner | Contained breathing glow | Loading cards, processing panels, persistent selected states |
pulse-outside | Outward breathing halo | One prominent active task or hero control with room to bloom |
Use these defaults by state:
pulse-inner, strength={0.55} to 0.75, duration={2.3} to 3.md or pulse-inner, strength={0.3} to 0.55, duration={3.2} to 5.sm or line, strength={0.35} to 0.6.pulse-outside, strength={0.45} to 0.7; allow only one in a view.Start with colorVariant="mono" for neutral product UI, ocean for cool technical states, sunset for warm urgency, and colorful for a rare high-salience moment.
Keep BorderBeam mounted and toggle active. Removing it when state becomes false skips the built-in fade-out.
<BorderBeam
size="pulse-inner"
colorVariant="ocean"
theme="dark"
strength={0.65}
active={isWorking}
>
<section className="task-card" aria-busy={isWorking}>
<p>{isWorking ? "Generating layout options…" : "Layout options ready"}</p>
</section>
</BorderBeam>active fades in over 0.6s and fades out over 0.5s. Use onActivate and onDeactivate only when work must align with the completed visual transition.
Make the loading state truthful before adding the beam:
<BorderBeam
size="pulse-inner"
colorVariant="ocean"
strength={0.65}
active={pending && !reduceMotion}
onDeactivate={() => {
// Optional: advance only after the 0.5s beam exit completes.
}}
>
<section className="beam-surface" aria-busy={pending}>
<span className="status-dot" aria-hidden="true" />
<span>{pending ? "Building preview…" : "Preview ready"}</span>
</section>
</BorderBeam>150ms or less.400ms to 600ms to prevent a flash.pointer-events: none.Use line when the work belongs to one input or prompt bar. Use pulse-inner when the whole card is busy.
Use the component state and the semantic state together:
<BorderBeam
size="md"
colorVariant="mono"
staticColors
duration={4.2}
strength={0.42}
active={selected && !reduceMotion}
className="beam-card"
>
<button
type="button"
className="beam-surface"
aria-pressed={selected}
onClick={onSelect}
>
{label}
</button>
</BorderBeam>aria-selected for tabs, listbox options, grid cells, and similar selection widgets.aria-current for the current page, step, date, or location.aria-pressed only for toggle buttons.For a large collection, animate only the newly selected item for 800ms to 1200ms, then retain the static selected style. Do not run a beam on every selected item indefinitely.
Track focus on the wrapper because all standard HTMLDivElement attributes and capture handlers are forwarded:
const [focused, setFocused] = useState(false);
<BorderBeam
size="sm"
colorVariant="mono"
strength={0.45}
active={focused && !reduceMotion}
className="beam-inline"
onFocusCapture={() => setFocused(true)}
onBlurCapture={(event) => {
const next = event.relatedTarget as Node | null;
if (!next || !event.currentTarget.contains(next)) setFocused(false);
}}
>
<button className="beam-surface">Run</button>
</BorderBeam>Keep the ordinary :focus-visible outline. Pointer hover alone should not start a high-intensity beam, and a pressed state should still have immediate scale, fill, or contrast feedback.
When states overlap, resolve them explicitly:
const beamState =
pending ? "loading" :
selected ? "selected" :
focused ? "focus" :
"idle";
const beamProps = {
loading: {
size: "pulse-inner",
colorVariant: "ocean",
duration: 2.6,
strength: 0.65,
},
selected: {
size: "md",
colorVariant: "mono",
duration: 4.2,
strength: 0.42,
staticColors: true,
},
focus: {
size: "sm",
colorVariant: "mono",
duration: 2.4,
strength: 0.45,
staticColors: true,
},
} as const;
const activeProps = beamState === "idle" ? null : beamProps[beamState];
<BorderBeam
{...(activeProps ?? { size: "md" as const })}
active={activeProps !== null && !reduceMotion}
>
<div className="beam-surface" data-state={beamState}>
{children}
</div>
</BorderBeam>Use loading above selection, selection above focus, and focus above hover unless the product's state model says otherwise.
Pulse presets stop their animations under prefers-reduced-motion: reduce. Rotate and line presets should also be disabled by the consumer. Use the project's media-query hook or a small client hook:
function useReducedMotion() {
const [reduced, setReduced] = useState(false);
useEffect(() => {
const media = window.matchMedia("(prefers-reduced-motion: reduce)");
const update = () => setReduced(media.matches);
update();
media.addEventListener("change", update);
return () => media.removeEventListener("change", update);
}, []);
return reduced;
}Provide a static fallback on the child surface:
.beam-surface {
border: 1px solid rgb(255 255 255 / 0.12);
}
[data-state="selected"] {
border-color: rgb(140 155 255 / 0.7);
box-shadow: 0 0 0 3px rgb(100 120 255 / 0.12);
}
:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
[data-state="loading"] {
border-color: rgb(100 150 255 / 0.68);
}
}| Prop | Type | Default | Contract |
|---|---|---|---|
children | ReactNode | Required | Content wrapped by one generated div |
size | "sm" | "md" | "line" | "pulse-outside" | "pulse-inner" | "md" | Effect family and geometry preset |
colorVariant | "colorful" | "mono" | "ocean" | "sunset" | "colorful" | Beam palette |
theme | "dark" | "light" | "auto" | "dark" | Adapts opacity and color treatment to the background |
strength | number | 1 | Beam-layer opacity; clamped to 0–1; never changes child opacity |
duration | number | 1.96 rotate, 2.4 line, 2.3 pulse | Animation cycle in seconds |
active | boolean | true | Starts fade-in or fade-out and controls ongoing motion |
borderRadius | number | Auto-detected | Wrapper radius in pixels |
brightness | number | Per preset, usually 1.3 | Glow brightness multiplier |
saturation | number | Per theme, usually 1.2 on dark | Glow saturation multiplier |
hueRange | number | 30 | Hue-shift range in degrees; line is capped at 13 |
staticColors | boolean | false | Disables hue shifting, not travel or pulse motion |
className | string | — | Class on the generated wrapper |
style | CSSProperties | — | Inline style on the generated wrapper |
onActivate | () => void | — | Fires when the 0.6s fade-in completes |
onDeactivate | () => void | — | Fires when the 0.5s fade-out completes |
mono always uses static colors, even when staticColors is false. A forwarded ref points to the wrapper. Other standard HTMLDivElement attributes and events are forwarded.
The package also exports sizePresets, sizeThemePresets, and the deprecated themeColors. Treat them as implementation reference; prefer component props instead of mutating exported preset objects.
BorderBeam renders a div. Place it inside required semantic parents such as li, td, or label; do not let it replace those elements.display: inline-block or inline-flex for compact controls and width: 100% for cards.borderRadius explicitly when corners differ, radius changes at runtime, or late styles make detection unreliable.sm, md, line, and pulse-inner clip overflow. Do not place menus or tooltips inside those wrappers if they must escape.pulse-outside uses overflow: visible. Its child must be opaque so the inner glow does not show through, and the surrounding layout must allow the halo to spill.pulse-outside children their own subtle 1px border or inset ring. That preset intentionally does not paint a separate idle hairline..beam-inline {
display: inline-block;
}
.beam-card {
display: block;
width: 100%;
}
.beam-surface {
width: 100%;
border-radius: inherit;
background: rgb(18 18 20);
}strength before changing brightness or saturation.pulse-outside breathe into real empty space; never crop it accidentally.Test:
aria-busy, aria-selected, aria-current, or aria-pressed semantics.auto themes against the actual surface.sm, md, line, pulse-inner, and pulse-outside at 320, 768, and 1440 widths.Keep REFERENCES.md as the links-only source list.
© boraoztunc, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in beam-glow-states of boraoztunc/skills.
Open the folder on GitHubat commit 645553c
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in boraoztunc/skills, which our catalogue first saw on October 7, 2026.
Beam Glow States next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Beam Glow States this skillboraoztunc/skills | 398 | 2 repos | ~3.2k | Automated safety check: Pass | Apache-2.0 | |
| Reduce Bundle Sizekcsujeet/ilamy-calendar | 351 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Slabstencil-hq/slab | 114 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Dx Insight Usage Guardrailcultureamp/kaizen-design-system | 176 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Frontend Large Feature Architecturelangfuse/langfuse | 36k | — | ~1.4k | Automated safety check: Pass | Custom licence | |
| Performanceyonatangross/orchestkit | 292 | — | ~3.5k | Automated safety check: Pass | MIT |
kcsujeet/ilamy-calendar
Systematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs.
stencil-hq/slab
Writing, editing, and rendering Slab documents (.slab) — the declarative design language for app screens, posters, terminal UIs, and interactive components.
cultureamp/kaizen-design-system
Checks deps update in widely consumed repos will cause problems or not, and ranks dependency updates by downstream impact for prioritisation.
langfuse/langfuse
Architect large or state-heavy Langfuse frontend features. An agent skill from langfuse/langfuse.
yonatangross/orchestkit
Performance optimization patterns covering Core Web Vitals, React render optimization, lazy loading, image optimization, backend profiling, LLM inference, and sustainability UX.
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
boraoztunc/skills
GSAP animation reference for HyperFrames. An agent skill from boraoztunc/skills.
boraoztunc/skills
Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML.
boraoztunc/skills
Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition.
boraoztunc/skills
Anime.js adapter patterns for HyperFrames. An agent skill from boraoztunc/skills.
boraoztunc/skills
Compile a theme, sentence, object, mood, article idea, or photo into a quiet Japanese/Korean zine-style editorial poster — tall aged paper, large negative space, one small image anchor, experimental…
boraoztunc/skills
Apply exact Tailwind arbitrary shadow utilities for polished, layered neutral elevation.
Works with
Categories
Create React loading, processing, selected, current, focus, and pressed states with the border-beam package's animated edge glow. Beam Glow States is an agent skill from boraoztunc/skills. Create React loading, processing, selected, current, focus, and pressed states with the border-beam package's animated edge glow.
Beam Glow States fits situations like: agent surface needs a restrained traveling; includes installation; performance and layout guardrails.
Run `npx skills add boraoztunc/skills --skill beam-glow-states -a claude-code`. Or copy the skill folder (beam-glow-states in boraoztunc/skills) into .claude/skills/beam-glow-states in your project. Claude Code loads it when a task matches its description.
Run `npx skills add boraoztunc/skills --skill beam-glow-states -a codex`. Or copy the skill folder (beam-glow-states in boraoztunc/skills) into .agents/skills/beam-glow-states in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add boraoztunc/skills --skill beam-glow-states -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/beam-glow-states, .gemini/skills/beam-glow-states, .github/skills/beam-glow-states and .opencode/skills/beam-glow-states in your project.
Going by SKILL.md and its folder, Beam Glow States needs the command-line tools its instructions call (npm, pnpm, yarn and bun). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Beam Glow States is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Beam Glow States: Reduce Bundle Size (kcsujeet/ilamy-calendar, 351 stars), Slab (stencil-hq/slab, 114 stars), Dx Insight Usage Guardrail (cultureamp/kaizen-design-system, 176 stars) and Frontend Large Feature Architecture (langfuse/langfuse, 36k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
boraoztunc (a GitHub user) maintains it in boraoztunc/skills, which has 398 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on August 15, 2026.
Source: boraoztunc/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.