Back to Hero blocks
Launch
A copy-paste Hero Section Component combining a complete navbar, responsive hero, and built-in dark mode for SaaS and landing pages.
Installation
npm i framer-motionnpm i react-iconsStep 1
Dark Mode
This component supports Tailwind CSS dark: variants. To render this component in dark mode, add the dark className to your application's root element (for example, in app/layout.tsx).
Using <html>
<html className="dark"> ... </html>
Using <body>
<body className="dark"> ... </body>
Step 2
Use Orbit Border
Step 3
Use Linear Reveal