Flip

An Apple-inspired toggle component with smooth card flip animation. Built with accessibility and performance in mind. View on GitHub

Demo

Quick Start

npm install flip-toggle

import { Toggle } from 'flip-toggle'

const [checked, setChecked] = useState(false)

<Toggle checked={checked} onChange={setChecked} />