framerlabs

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

Framer Labs

A collection of resources for working with Framer.

Skills

Claude Code skills that teach Claude how to build Framer components and plugins. See skills/README.md for installation instructions and detailed coverage.

Skill Description
framer-code-components-overrides Code Components, Code Overrides, property controls, WebGL shaders, and common patterns
framer-plugins Framer Plugin SDK — plugin modes, canvas insertion + code files, CMS/ManagedCollection sync, permissions, licensing, Marketplace submission

Hacks

Workarounds and tricks for Framer.

Hack Description
Safari SVG animation fix Fix choppy SVG animations on Safari
Magnetic hover effect Elements that follow the cursor on hover
Force NPM package version Bypass Framer's package cache with esm.sh
Shared state between overrides Make multiple elements react to each other
Show element only once Show popups/banners only on first visit
Auto-sized text fix Fix text collapse in auto-sized components
Dynamic FAQ accordion Auto-close other FAQ items when one opens, via a shared store
Overlay deep link from URL Open a Framer overlay from a URL parameter via React fiber traversal

Changelog

2026-07-13 — framer-plugins skill: big update for the renamed v4 plugin SDK, first-hand guidance on the Marketplace's automated code review and how to pass it (permission checks, shipping your source files), submission gotchas, and licensing advice for paid plugins; fact-checked against the live Framer docs.

2026-06-15 — framer-plugins skill: new coverage of inserting code files onto the canvas, handling licensed plugins across project remixes, and a dedicated CMS reference; verified against the latest plugin SDK.

2026-06-05 — Skill: documented a subtle gotcha where factoring several similar overrides through a shared generator silently drops them from Framer's override picker, and how to keep them listed.

2026-06-04 — Skill: new sections on URL-driven filtering and styling range sliders, plus a tidy-up of the video streaming notes.

2026-05-25 — Skill refactor with new sections on CMS in code components, color tokens, live-read refs, SSR-safe state init, concurrent rendering, and gated debug logging. Reorganised into tagged sections with the pitfalls table moved to the top.

2026-05-13 — Added Overlay deep link from URL hack (open a Framer overlay from a URL param via React fiber traversal). Skill: new section on triggering Framer-attached handlers from code, plus a few corrections to the text and CMS-timing guidance.

2026-04-17 — Added Dynamic FAQ accordion hack (shared-store override that toggles Closed/Opened variants without wrapping the list in a single component).

2026-03-24 — Added Framer Marketplace requirements to framer-plugins skill

2026-03-11 — Added HLS video streaming pattern (dynamic HLS.js import with silent fallback, SSR guard, adaptive bitrate). New pitfall entry for pixelated .m3u8 streams in Chrome.

2026-03-02 — Added framer-plugins skill (Plugin SDK, ManagedCollection API, CMS sync). Restructured repo.

2026-02-10 — Added React Portal pattern for z-index stacking context, loading states with scroll lock, and easing curves for lerp animations with initial distance tracking.

2026-02-02 — Added advanced gotchas: startTransition requirement, ResponsiveImage/File defaultValue workaround, variant-to-font-weight mapping, and more property control tips.

2026-01-30 — First skill + hacks

License

MIT