Darkmode

Lightmode

Custom

Example
// Paste a code snippet
import React, { useState } from 'react';
 
export default function PricingCard() {
const [isYearly, setIsYearly] = useState(false);
return (
<div className="pricing-card">
<h3>Pro Plan</h3>
<p className="price">
${isYearly ? '99' : '12'}
<span className="duration">
/{isYearly ? 'year' : 'month'}
</span>
</p>
<button onClick={() => setIsYearly(!isYearly)}>
Toggle Billing
</button>
<ul className="features">
<li>Unlimited Projects</li>
<li>Priority Support</li>
</ul>
</div>
);
}

Create a free website with Framer, the website builder loved by startups, designers and agencies.