- Filter falsey entries from List content
- Fixes scroll bug on Map
- Adds Icon to Button
- Adds resizable Text Input
- Fixes spacing on Navigation Bar
- Fixes clear on Text Input
- Adds Favorite to row item
- Adds colors to sliders
- Adds TextArea
- Adds scroll prop to List
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Override, motionValue, useAnimation } from 'framer' | |
const x = motionValue(0) | |
const y = motionValue(0) | |
export function Knob(): Override { | |
const maxRadius = 32 | |
const overDrag = 0.25 | |
const animation = useAnimation() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react" | |
import { useTransform, MotionValue } from "framer" | |
export function useStickyHeader(scrollY: MotionValue<number>) { | |
const ref = React.useRef<HTMLElement>() | |
const top = React.useRef<number>() | |
React.useEffect(() => { | |
top.current = ref.current.offsetTop | |
}, []) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react" | |
import { | |
Override, | |
motionValue, | |
transform, | |
useTransform, | |
MotionValue, | |
} from "framer" | |
type States = "open" | "closed" | "opening" | "closing" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Override } from "framer" | |
import { setCurrentPage } from "./Nav" | |
export function Page1Button(): Override { | |
return { | |
onTap: () => setCurrentPage(1) | |
} | |
} | |
export function Page2Button(): Override { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react" | |
import { | |
Stack, | |
StackProperties, | |
addPropertyControls, | |
ControlType, | |
} from "framer" | |
import { | |
default as MuiCheckbox, | |
CheckboxProps, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Override, Data } from "framer" | |
import { connectToHost } from "./Client" | |
// Socket | |
const serverUrl = "http://localhost:8080" | |
const responses = { | |
CONNECT: () => console.log("Connected"), | |
DISCONNECT: () => console.log("Disconnected"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var { connectToHost } = require('./client') | |
var five = require('johnny-five') | |
var board = new five.Board() | |
var rgbHex = require('rgb-hex') | |
function main() { | |
// Connection | |
const serverUrl = 'http://localhost:8080' |
You can use the Framer Preview app for iOS to download Framer X web previews for offline viewing.
- Open your project in Framer X.
- Export a web preview.
- Upload the exported folder to the web — either on your own server or using a service like Netlify Drop.
- Copy the hosted URL to your iOS device’s clipboard. (You might have to send yourself the link first).
- On your iOS device, open the Framer Preview app.