Framer Component Best Practices

Write Framer code components that follow the rules.

By

Framer

Price

Free

Framer Component Best Practices is an agent skill by Framer that teaches your agent how to write React code components for Framer. It covers the platform's rules plus property controls, animation, and accessibility.

What it does

  • Lists the constraints that cause errors in Framer, like a single default export and only React and Framer imports.
  • Explains the layout annotations that tell Framer how a component sizes itself.
  • Sets up property controls with default values so components render on the canvas.
  • Shows how to give a static preview and pause animations that are off screen.
  • Adds accessibility basics and points to bundled guides on every control type and example components.

When to use it

Use it when you create, edit, or review code components for a Framer project.

How to get it

The skill is free on GitHub under the MIT license, in Framer's plugins repo. It ships with the Code Link CLI (the framer-code-link package), which copies it into your project's skill folders for Claude Code, Cursor, and other agents when it syncs your components.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Framer Component Best Practices

Write Framer code components that follow the rules.

By

Framer

Price

Free

Framer Component Best Practices is an agent skill by Framer that teaches your agent how to write React code components for Framer. It covers the platform's rules plus property controls, animation, and accessibility.

What it does

  • Lists the constraints that cause errors in Framer, like a single default export and only React and Framer imports.
  • Explains the layout annotations that tell Framer how a component sizes itself.
  • Sets up property controls with default values so components render on the canvas.
  • Shows how to give a static preview and pause animations that are off screen.
  • Adds accessibility basics and points to bundled guides on every control type and example components.

When to use it

Use it when you create, edit, or review code components for a Framer project.

How to get it

The skill is free on GitHub under the MIT license, in Framer's plugins repo. It ships with the Code Link CLI (the framer-code-link package), which copies it into your project's skill folders for Claude Code, Cursor, and other agents when it syncs your components.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Framer Component Best Practices

Write Framer code components that follow the rules.

By

Framer

Price

Free

Framer Component Best Practices is an agent skill by Framer that teaches your agent how to write React code components for Framer. It covers the platform's rules plus property controls, animation, and accessibility.

What it does

  • Lists the constraints that cause errors in Framer, like a single default export and only React and Framer imports.
  • Explains the layout annotations that tell Framer how a component sizes itself.
  • Sets up property controls with default values so components render on the canvas.
  • Shows how to give a static preview and pause animations that are off screen.
  • Adds accessibility basics and points to bundled guides on every control type and example components.

When to use it

Use it when you create, edit, or review code components for a Framer project.

How to get it

The skill is free on GitHub under the MIT license, in Framer's plugins repo. It ships with the Code Link CLI (the framer-code-link package), which copies it into your project's skill folders for Claude Code, Cursor, and other agents when it syncs your components.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.