Animated React Component Libraries
Hainrixz/editor-pro-max
Helps choose and drop in animated React components from Magic UI and React Bits for landing pages, marketing sites and dashboards, instead of hand-coding animations.
Create Framer Code Components and Code Overrides. An agent skill from fredm00n/framerlabs.
$ npx skills add fredm00n/framerlabs --skill framer-code-components-overrides -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install fredm00n/framerlabs framer-code-components-overrides --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/fredm00n/framerlabs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/framer-code-components-overrides .claude/skills/framer-code-components-overrides && 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 "framer-code-components-overrides" agent skill from https://github.com/fredm00n/framerlabs/tree/main/skills/framer-code-components-overrides into .claude/skills/framer-code-components-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "framer-code-components-overrides", 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/fredm00n/framerlabs/tree/main/skills/framer-code-components-overridesType 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 fredm00n/framerlabs --skill framer-code-components-overrides -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install fredm00n/framerlabs framer-code-components-overrides --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fredm00n/framerlabs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/framer-code-components-overrides .agents/skills/framer-code-components-overrides && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "framer-code-components-overrides" agent skill from https://github.com/fredm00n/framerlabs/tree/main/skills/framer-code-components-overrides into .agents/skills/framer-code-components-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "framer-code-components-overrides", 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 fredm00n/framerlabs --skill framer-code-components-overrides -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install fredm00n/framerlabs framer-code-components-overrides --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fredm00n/framerlabs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/framer-code-components-overrides .cursor/skills/framer-code-components-overrides && 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 "framer-code-components-overrides" agent skill from https://github.com/fredm00n/framerlabs/tree/main/skills/framer-code-components-overrides into .cursor/skills/framer-code-components-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "framer-code-components-overrides", 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/fredm00n/framerlabs.git --path skills/framer-code-components-overrides--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 fredm00n/framerlabs --skill framer-code-components-overrides -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install fredm00n/framerlabs framer-code-components-overrides --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fredm00n/framerlabs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/framer-code-components-overrides .gemini/skills/framer-code-components-overrides && 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 "framer-code-components-overrides" agent skill from https://github.com/fredm00n/framerlabs/tree/main/skills/framer-code-components-overrides into .gemini/skills/framer-code-components-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "framer-code-components-overrides", 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 fredm00n/framerlabs framer-code-components-overridesInstalls 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 fredm00n/framerlabs --skill framer-code-components-overrides -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/fredm00n/framerlabs.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/framer-code-components-overrides .github/skills/framer-code-components-overrides && 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 "framer-code-components-overrides" agent skill from https://github.com/fredm00n/framerlabs/tree/main/skills/framer-code-components-overrides into .github/skills/framer-code-components-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "framer-code-components-overrides", 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 fredm00n/framerlabs --skill framer-code-components-overrides -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install fredm00n/framerlabs framer-code-components-overrides --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fredm00n/framerlabs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/framer-code-components-overrides .opencode/skills/framer-code-components-overrides && 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 "framer-code-components-overrides" agent skill from https://github.com/fredm00n/framerlabs/tree/main/skills/framer-code-components-overrides into .opencode/skills/framer-code-components-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "framer-code-components-overrides", 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.
framer-code-components-overridesCreate Framer Code Components and Code Overrides. An agent skill from fredm00n/framerlabs.
Framer Code Components Overrides is an agent skill from fredm00n/framerlabs. Create Framer Code Components and Code Overrides. Use when building custom React components for Framer, writing Code Overrides (HOCs) to modify canvas elements, implementing property controls, working with Framer Motion animations, handling WebGL/shaders in Framer, or debugging Framer-specific issues like hydration errors and font handling.
Its SKILL.md is about 5.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/cms.md`, `references/fiber-handlers.md` and `references/hls-video.md`).
It sits in Frontend & Design, covering Web animation and motion, React components and 3D graphics and WebGL. It works with Motion. The repository describes itself as: For experienced Framer creators looking to push the boundaries. The licence is MIT.
Read from SKILL.md and the folder at commit 3f51e5c. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
esm.shFrom 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.
Framer Code Components Overrides loads about 5.8k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 94 tokens; SKILL.md has 1,928 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 fredm00n/framerlabs at commit 3f51e5c, republished under its MIT licence (© fredm00n). 1,928 words, ~5,837 tokens.
.claude/skills/framer-code-components-overrides/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.Section tags: [C] applies to code components, [O] to code overrides, [C/O] to both.
| 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) |
Code Components [C]: Custom React components added to canvas. Support addPropertyControls.
Code Overrides [O]: Higher-order components wrapping existing canvas elements. Do NOT support addPropertyControls.
[C/O]Always include at minimum:
/**
* @framerDisableUnlink
* @framerIntrinsicWidth 100
* @framerIntrinsicHeight 100
*/Full set:
@framerDisableUnlink — Prevents unlinking when modified@framerIntrinsicWidth / @framerIntrinsicHeight — Default dimensions@framerSupportedLayoutWidth / @framerSupportedLayoutHeight — any, auto, fixed, any-prefer-fixed[O]import type { ComponentType } from "react"
import { useState, useEffect } from "react"
/**
* @framerDisableUnlink
*/
export function withFeatureName(Component): ComponentType {
return (props) => {
// State and logic here
return <Component {...props} />
}
}Naming: Always use withFeatureName prefix.
[O]Framer's override picker statically scans the file and only lists exports it can syntactically recognize as an override — a literal function declaration or an arrow assigned directly to the export. An export whose value is the return of a function call is invisible to the scanner: it won't appear in the Override dropdown (even though it would work if referenced by name).
This bites hardest when you try to DRY up several near-identical overrides with a factory:
// ❌ BROKEN — factory hides the overrides from the picker.
// Only literal functions in the file get listed; these three never appear.
const setVariant = (name) => (Component) => (props) => {
const [, setStore] = useStore()
return <Component {...props} onClick={() => setStore({ variant: name })} />
}
export const withSetVariant1 = setVariant("Variant 1") // not listed
export const withSetVariant2 = setVariant("Variant 2") // not listed
export const withSetVariant3 = setVariant("Variant 3") // not listed
// ✅ CORRECT — each override is a literal function; all are listed.
export function withSetVariant1(Component): ComponentType {
return (props) => {
const [, setStore] = useStore()
return <Component {...props} onClick={() => setStore({ variant: "Variant 1" })} />
}
}Both literal forms are recognized: export function withX(Component) {…} or export const withX = (Component) => (props) => …. The rule: never produce an override by calling a helper — repeat the literal per override, even if it's more verbose. (Full worked example — 3 setters + 1 reader sharing a store — in references/patterns.md → Shared State Between Overrides.)
[C]import { motion } from "framer-motion"
import { addPropertyControls, ControlType } from "framer"
/**
* @framerDisableUnlink
* @framerIntrinsicWidth 300
* @framerIntrinsicHeight 200
*/
export default function MyComponent(props) {
const { style } = props
return <motion.div style={{ ...style }}>{/* content */}</motion.div>
}
MyComponent.defaultProps = {
// Always define defaults
}
addPropertyControls(MyComponent, {
// Controls here
})[C]See references/property-controls.md for complete control types and patterns.
[C/O]Never access font properties individually. Always spread the entire font object.
// ❌ BROKEN - Will not work
style={{
fontFamily: props.font.fontFamily,
fontSize: props.font.fontSize,
}}
// ✅ CORRECT - Spread entire object
style={{
...props.font,
}}Font control definition:
font: {
type: ControlType.Font,
controls: "extended",
defaultValue: {
fontFamily: "Inter",
fontWeight: 500,
fontSize: 16,
lineHeight: "1.5em",
},
}ControlType.Color) [C]A ControlType.Color value arrives as a plain string when the user picks a static color, but as a { value: "#xxx" } object when bound to a Framer color token. Components that read the value directly break the moment the user binds a token.
Always unwrap:
const tok = (v: any) =>
v && typeof v === "object" && "value" in v ? v.value : v
const bg = tok(props.background) // string in both casesUse tok() wherever a color prop is consumed for parsing, CSS strings, or canvas styles. Same wrapper shape may appear on other token-bindable controls (sizes, shadows) — check before assuming.
[C/O]Framer pre-renders on server. Browser APIs unavailable during SSR.
Two-phase rendering pattern:
const [isClient, setIsClient] = useState(false)
useEffect(() => {
setIsClient(true)
}, [])
if (!isClient) {
return <Component {...props} /> // SSR-safe fallback
}
// Client-only logic hereNever access directly at render time:
window, document, navigatorlocalStorage, sessionStoragewindow.innerWidth, window.innerHeightInitial state must match SSR, then flip in an effect:
// ❌ BROKEN — looks "smart" but isn't
const [vw, setVw] = useState(
typeof window !== "undefined" ? window.innerWidth : 0
)
useEffect(() => {
setVw(window.innerWidth) // no-op: state already equals window.innerWidth
}, [])The initial state already equals the real value on the client, so setState becomes a no-op and the SSR'd dimensions (always 0) persist forever in the rendered DOM.
// ✅ CORRECT — start at SSR-safe value, force a re-render via effect
const [vw, setVw] = useState(0)
const [vh, setVh] = useState(0)
useEffect(() => {
const onResize = () => {
setVw(window.innerWidth)
setVh(window.innerHeight)
}
onResize()
window.addEventListener("resize", onResize)
return () => window.removeEventListener("resize", onResize)
}, [])
// Hide the first paint (SSR'd at 0) until the effect has populated real values
<div style={{ opacity: vw > 0 ? 1 : 0 }} />Pairing the > 0 opacity gate with the flip-in-effect hides the first paint, otherwise you see a flash from 0/default → real size on refresh.
[C/O]import { RenderTarget } from "framer"
const isOnCanvas = RenderTarget.current() === RenderTarget.canvas
// Show debug only in editor
{isOnCanvas && <DebugOverlay />}Use for:
startTransition [C/O]Framer runs on React's concurrent renderer. Multi-setter updates in event handlers (steppers, async chains, form fields) can stutter under load. Wrap non-urgent updates:
import { startTransition } from "react"
const handleClick = () => {
startTransition(() => {
setQty((q) => ({ ...q, [id]: q[id] + 1 }))
setError(null)
})
}
const onSubmit = async () => {
startTransition(() => {
setLoading(true)
setError(null)
})
try {
const res = await fetch(...)
// ...
} catch (e) {
startTransition(() => {
setError(e.message)
setLoading(false)
})
}
}Don't wrap the user-input setter itself (onChange → setValue) — that one needs to feel immediate.
[C/O]Standard import (preferred):
import { Component } from "package-name"Force specific version via CDN when Framer cache is stuck:
import { Component } from "https://esm.sh/package-name@1.2.3?external=react,react-dom"Always include ?external=react,react-dom for React components.
[O]CMS text arrives in props.text asynchronously (~50–200ms after hydration). For variable-bound text from component props, it's synchronous on first render — no delay needed.
The reliable pattern for both: use resolvePlainText(props) (see Text in Overrides below) and gate on the value being non-empty:
const plainText = resolvePlainText(props)
// plainText is "" until content arrives → gate your animation on plainText.length > 0Avoid 100ms arbitrary delays — they cause race conditions when the element is already in the viewport on load.
[O]Text comes from two different sources depending on how it's set:
| Source | Where it lives | When |
|---|---|---|
| Static text (typed in Framer) | props.children nested structure | Always available on first render |
| Variable-bound text (component prop / CMS) | props.text (plain string) | Available on first render for variables; async for CMS |
Always check props.text first, fall back to children:
import { isValidElement } from "react"
function extractParts(raw: any): any[] {
if (typeof raw === "string") return [raw]
if (isValidElement(raw)) return [raw]
if (Array.isArray(raw)) return raw.flatMap(extractParts)
return []
}
function toPlainText(parts: any[]): string {
return parts.map((p) => (typeof p === "string" ? p : "\n")).join("")
}
function resolvePlainText(props: any): string {
if (typeof props.text === "string" && props.text.length > 0) {
return props.text // variable-bound or CMS
}
const raw = props.children?.props?.children?.props?.children
return toPlainText(extractParts(raw)) // static text
}Never assume text is only in props.children. Variable-bound text bypasses the children structure entirely — props.children will contain a placeholder while props.text has the real value. If you only read children, variable text is invisible to your override.
[C]Code components consume a Framer CMS Collection List via a ControlType.ComponentInstance slot, then walk the resulting React element tree to extract per-item content. Core helpers:
useQueryData + getCollectionData to materialise itemsfindByFramerName to extract named layers from each item's templategetPropertyControls(WrappedComponent) to inherit controls when one CMS component wraps anotherFull pattern, helper code, and traps: see references/cms.md.
[O]Cannot read variant names from props (may be hashed). Manage internally:
export function withVariantControl(Component): ComponentType {
return (props) => {
const [currentVariant, setCurrentVariant] = useState("variant-1")
// Logic to change variant
setCurrentVariant("variant-2")
return <Component {...props} variant={currentVariant} />
}
}[O]Synthetic DOM events (dispatchEvent) don't reliably trigger Framer Motion handlers — they leave the element in a half-pressed state. Instead, walk the React fiber tree from the DOM node up to the handler-bearing fiber and call it directly:
const onTap = findFiberHandler(wrapper, "onTap")
onTap?.({} as any, {} as any)Full helper, debugging snippets, deep-link use case, and maintenance risks: see references/fiber-handlers.md.
[C/O]Framer's scroll detection uses viewport-based IntersectionObserver. Applying overflow: scroll to containers breaks this detection.
For scroll-triggered animations, use:
const observer = new IntersectionObserver(
(entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting && !hasEntered) {
setHasEntered(true)
}
})
},
{ threshold: 0.1 }
)useRef, Not useState [C/O]Hooks that read .current live on every event (Framer Motion's useScroll, IntersectionObserver targets, RAF loops) must receive a useRef. Storing the target in useState captures null on the first hook call and never re-subscribes once state flips.
The trap is that this often appears to work — useScroll silently falls back to window scroll, so the page seems to animate at first glance until you pin the target with id="..." and everything freezes.
// ❌ BROKEN — useScroll captures target: null on first render
const [scrollEl, setScrollEl] = useState<HTMLElement | null>(null)
useEffect(() => { setScrollEl(document.getElementById("section")) }, [])
const { scrollYProgress } = useScroll({ target: scrollEl })
// ✅ CORRECT — useScroll reads ref.current live on each event
const scrollRef = useRef<HTMLElement | null>(null)
useEffect(() => { scrollRef.current = document.getElementById("section") }, [])
const { scrollYProgress } = useScroll({ target: scrollRef })Applies to any API that reads through a ref handle per event — not just useScroll.
[C/O]Problem: Components with position: absolute inherit their parent's stacking context. Even with z-index: 9999, they can't appear above elements outside the parent.
Solution: Use React Portal to render at document.body level:
import { createPortal } from "react-dom"
export default function ComponentWithOverlay(props) {
const [showOverlay, setShowOverlay] = useState(false)
return (
<div style={{ position: "relative" }}>
{/* Main component content */}
{/* Overlay rendered outside parent hierarchy */}
{showOverlay && createPortal(
<div style={{
position: "fixed", // Fixed to viewport
inset: 0,
zIndex: 9999,
background: "rgba(0, 0, 0, 0.8)",
}}>
{/* Overlay content */}
</div>,
document.body
)}
</div>
)
}Key differences:
position: "fixed" positions relative to viewport, not parentCanvas vs Published: Portals work in both canvas editor and published site. No RenderTarget check needed.
[C]A component can drive Framer's native URL-bound filtering by writing a query param. Framer's filters do the reading/filtering — your component only writes the param and keeps it in sync. Two non-obvious rules for the write side:
replaceState, not pushState, for high-frequency writes (slider drags, live filters). pushState adds a history entry per event and traps the Back button.history.replaceState / pushState do NOT fire popstate. Only browser-driven navigation (Back/Forward, typed URL) fires it. So after writing, dispatch it yourself or the rest of the page never sees the change:const url = new URL(window.location.href)
url.searchParams.set(paramName, String(value))
window.history.replaceState({}, "", url.toString())
// replaceState is silent — fire popstate so URL-bound consumers re-sync
window.dispatchEvent(new PopStateEvent("popstate"))The component also listens on popstate to re-read the param on Back/Forward and hydrate its own UI (clamp/validate — it's user-editable). Init state from props, not the URL, so SSR matches; do the first URL read in useEffect. This is intra-page only — it does not navigate, so it sidesteps the "cross-page nav is unreliable in published Framer" trap. It's the same idea as a custom-event state bus, but over the browser's native popstate channel, so Framer's own URL filters pick it up for free.
[C]Framer offers no styling for native <input type="range">, and browsers paint their own blue track/thumb. To fully restyle:
appearance: none (+ -webkit-appearance: none) and background: transparent on the input.::-webkit-slider-runnable-track and ::-moz-range-track.::-webkit-slider-thumb and ::-moz-range-thumb — appearance:none removes the native thumb too, so recreate it per engine.<div>s underneath; the transparent input sits on top..rs-thumb) inside the <style> tag — bare input[type=range] leaks to every range on the page.Dual-thumb (two stacked inputs over one track): set pointer-events: none on each input (so overlapping inputs don't block each other or the track) and pointer-events: auto on the thumb pseudo-elements only — just the thumbs stay grabbable. Enforce non-crossing in the onChange handlers (clamp each thumb against the other ± one step), not in the DOM.
See references/patterns.md for shared state, keyboard detection, show-once logic, scroll effects, magnetic hover, animation triggers, mobile optimization, Safari SVG fix, loading-state scroll lock, easing curves with lerp animations.
.m3u8) [C]Chrome/Firefox do not natively support HLS — a plain <video src="...m3u8"> fails or plays the lowest rendition forever (Safari handles it natively). Fix: load HLS.js via dynamic import with silent fallback to native video.
See references/hls-video.md for the full loadHls / attachHls implementation and cleanup notes.
[C]See references/webgl-shaders.md for shader implementation patterns including transparency handling.
[C/O]Gate every console.log in a component behind a module-level boolean so production builds don't leak data or noise. Never sprinkle console.log directly — toggling them off later means hunting them down.
const debugMode = false // flip to true when debugging this component
if (debugMode) console.log("Honeypot active, fields:", values)Especially important for components that handle user input (form values), auth state, or third-party tokens — these will end up in production console logs otherwise.
© fredm00n, MIT. 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 6 other files (references) in skills/framer-code-components-overrides of fredm00n/framerlabs.
Open the folder on GitHubat commit 3f51e5c
Framer Code Components Overrides 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 |
|---|---|---|---|---|---|---|
| Framer Code Components Overrides this skillfredm00n/framerlabs | 135 | — | ~5.8k | Automated safety check: Pass | MIT | |
| Animated React Component LibrariesHainrixz/editor-pro-max | 261 | 1 repos | ~5.7k | Automated safety check: Pass | Custom licence | |
| Animatedelphi-ai/animate-skill | 108 | — | ~1.3k | Automated safety check: Pass | None | |
| Awwwards-Level React AnimationsHainrixz/editor-pro-max | 261 | — | ~4.4k | Automated safety check: Pass | Custom licence | |
| Shader for Interfacesv2space-labs/shader-for-interfaces | 115 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Motion Design Patterns for Reactdylanfeltus/skills | 179 | — | ~3k | Automated safety check: Pass | MIT |
Hainrixz/editor-pro-max
Helps choose and drop in animated React components from Magic UI and React Bits for landing pages, marketing sites and dashboards, instead of hand-coding animations.
delphi-ai/animate-skill
Animation patterns and best practices for Next.js/React applications.
Hainrixz/editor-pro-max
Guides React animation work with GSAP, Motion, Anime.js and Lenis for scroll effects, page transitions, text effects and generative visuals, with a library decision table.
v2space-labs/shader-for-interfaces
Decides whether an interface effect belongs in CSS, SVG, Canvas 2D, WebGL or WebGPU, then builds, debugs and visually verifies focused GPU effects inside product UIs.
dylanfeltus/skills
Framer Motion (Motion) patterns for React: spring presets, staggers, layout animations, micro-interactions, scroll effects and page transitions, with performance rules.
feitangyuan/motion-web
Design and build motion-first creative websites — page design (structure, type scale, palette, spacing) plus interaction choreography: scroll animation, Framer Motion, GSAP, and light 3D via…
fredm00n/framerlabs
Framer Plugin SDK expert. An agent skill from fredm00n/framerlabs.
Works with
Categories
Create Framer Code Components and Code Overrides. An agent skill from fredm00n/framerlabs. Framer Code Components Overrides is an agent skill from fredm00n/framerlabs. Create Framer Code Components and Code Overrides.
Framer Code Components Overrides fits situations like: building custom React components for Framer; writing Code Overrides (HOCs) to modify canvas elements; implementing property controls; working with Framer Motion animations.
Run `npx skills add fredm00n/framerlabs --skill framer-code-components-overrides -a claude-code`. Or copy the skill folder (skills/framer-code-components-overrides in fredm00n/framerlabs) into .claude/skills/framer-code-components-overrides in your project. Claude Code loads it when a task matches its description.
Run `npx skills add fredm00n/framerlabs --skill framer-code-components-overrides -a codex`. Or copy the skill folder (skills/framer-code-components-overrides in fredm00n/framerlabs) into .agents/skills/framer-code-components-overrides 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 fredm00n/framerlabs --skill framer-code-components-overrides -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/framer-code-components-overrides, .gemini/skills/framer-code-components-overrides, .github/skills/framer-code-components-overrides and .opencode/skills/framer-code-components-overrides in your project.
SKILL.md names no scripts, command-line tools or credentials: Framer Code Components Overrides is instructions for the agent only. Our summary lists: Node.js.
SKILL.md names 1 domain. In commands or code: esm.sh; the agent is likely to contact it when it follows the instructions. 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.
Framer Code Components Overrides is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.8k tokens (SKILL.md is roughly 23k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Framer Code Components Overrides: Animated React Component Libraries (Hainrixz/editor-pro-max, 261 stars), Animate (delphi-ai/animate-skill, 108 stars), Awwwards-Level React Animations (Hainrixz/editor-pro-max, 261 stars) and Shader for Interfaces (v2space-labs/shader-for-interfaces, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
fredm00n (a GitHub user) maintains it in fredm00n/framerlabs, which has 135 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on July 13, 2026.
Source: fredm00n/framerlabs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.