framer-code-components-overrides

framer-code-components-overrides is a skill for Claude Code, Codex from fredm00n/framerlabs. It costs 71 tokens per session (5,494 once invoked), scanned A, original, MIT.

A guide for building custom React components and code overrides in Framer, a visual website-design tool. It also covers property controls, animations, WebGL effects, and Framer-specific rendering issues.

In plain words
What is it for?
Use it to create Framer components and overrides, add editable controls, build animations or shader effects, and troubleshoot hydration, sizing, colors, and override visibility.
Why use it?
It explains the conventions and common problems that can make custom Framer code fail, render incorrectly, or disappear from the editor's controls.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create Framer components and overrides, add editable controls, build…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fredm00n/framerlabs/framer-code-components-overrides
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.

Any agent
npx skills add fredm00n/framerlabs --skill framer-code-components-overrides
Clone the repo
git clone --depth 1 https://github.com/fredm00n/framerlabs

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for framer-code-components-overrides

README.md
[![agentmods](https://agentmods.dev/badge/skills/fredm00n/framerlabs/framer-code-components-overrides.svg)](https://agentmods.dev/skills/fredm00n/framerlabs/framer-code-components-overrides)
Your own site
<a href="https://agentmods.dev/skills/fredm00n/framerlabs/framer-code-components-overrides"><img src="https://agentmods.dev/badge/skills/fredm00n/framerlabs/framer-code-components-overrides.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00071 $0.05494
Opus 5 $0.00036 $0.02747
Sonnet 5 $0.00014 $0.01099
Haiku 4.5 $0.00007 $0.00549

Measured 7d ago against content hash f511ae36d7a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

framer-code-components-overrides 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 7d 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.

skills/framer-code-components-overrides/SKILL.md · 565 lines

How it starts

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

Framer Code Development

Section tags: [C] applies to code components, [O] to code overrides, [C/O] to both.

Pitfalls (quick lookup)

Issue Cause Fix
Variable text not found in override Reading only props.children Check props.text first — variable-bound text bypasses children
Font styles not applying Accessing font props individually Spread entire font object: ...props.font
Hydration mismatch Browser API in render Use isClient state pattern
Dimensions stuck at 0 / SSR'd size persists Initial state read from window already equals real value, setState no-ops Init state to 0, flip in effect (see Hydration Safety)
Color value crashes when user binds a token ControlType.Color returns {value: "#xxx"} for tokens, string for static Unwrap with tok(v) before use (see Color Tokens)
Override props undefined Expecting property controls Overrides don't support addPropertyControls
Override missing from Framer's picker dropdown Export value is produced by calling a factory/HOC-generator — Framer's static scanner only recognizes literal override exports Write each override as a literal export function withX(Component) or export const withX = (Component) => … (see Overrides Must Be Literal Exports)
Scroll animation broken overflow: scroll on container Use IntersectionObserver on viewport (see Scroll Detection)
Scroll/animation silently stops working when target ID is set useScroll target stored in useState captures null on first render Use useRef for live-read targets (see Live-Read Refs)
Named CMS layer not found by findByFramerName Layer is a dynamic component instance — name not on data-framer-name Wrap dynamic component in a plain frame carrying the expected name
HLS video permanently pixelated .m3u8 in Chrome without HLS.js Use HLS.js dynamic import pattern (see HLS Video Streaming)
Overlay stuck "half-pressed" / needs two clicks to close Triggering Framer interactions with synthetic events (dispatchEvent) Call the React handler directly via fiber traversal (see references/fiber-handlers.md)
Overlay stuck under content Stacking context from parent Use React Portal to render at document.body level
Shader attach error Null shader from compilation failure Check createShader() return before attachShader()
TypeScript Timeout errors Using NodeJS.Timeout type Use number instead — browser environment
Component display name Need custom name in Framer UI Component.displayName = "Name"
Easing feels same for all curves Not tracking initial distance Track initialDiff when target changes (see references/patterns.md)
URL-bound filters don't react to a programmatic URL write replaceState/pushState don't fire popstate Dispatch it manually after writing (see Writing State into the URL)
Slider drag floods browser history / traps Back pushState on every onChange Use replaceState for high-frequency writes
Range input shows blue native fill / unstyleable thumb Native <input type="range"> chrome appearance:none + neutralise track + custom thumb per engine (see Styling Native Range Inputs)

Read the full file on GitHub · 565 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 565 lines · 71 tokens per session scan A f511ae36d7a2

Subscribe to this mod's changes

framer-code-components-overrides is a skill published in the GitHub repository fredm00n/framerlabs (134 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 5,494 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

cobejs

Use when adding a lightweight interactive globe with cobe (canvas setup, markers, interaction, performance, integration with React/Next.js).

MengTo/Skills · 31 tokens

stitch::react-components

Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using system-level networking and AST-based validation.

google-labs-code/stitch-skills · 43 tokens

seed-design

An integration guide for SEED Design, covering shared component specifications and foundations plus React and Lynx implementation guidance.

daangn/seed-design · 109 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

calesthio/OpenMontage · 58 tokens