If you get stuck, come hang in the Group or on Slack.
Syntax
Imports and Exports
Always make sure you have a React import on top(orjsx / tsx files won’t work). This is a bit annoying but JavaScript needs to know where to find your libraries.
import * as React from"react"
Then, make sure to import anything you need from Framer. You can find everything that is in the Framer library in the docs. The most common ones are Frame, Scroll and Page.
For Framer Playground
Syntax
Theory
Questions
Syntax
Imports and Exports
import * as React from "react"
import { Frame, Scroll, Page, useCycle, useMotionValue} from "framer"
export const name = "Koen" // In myFile.jsx
import { name } from "./myFile"
Variables
let name = "Koen"