webdevpuneet.com
← All section templates

Cursor Effect & Back to Top Button Templates

3 free, editable cursor & page effects section templates. Page-wide effects that take no space in the layout: cursor followers that invert what is under them, floating back-to-top buttons and a slide-in cart drawer. Change the text, images, colours and fonts in your browser, add a GSAP animation, then export HTML, React or Vue.

Cursor Effect & Back to Top Button Templates

3 sections · Responsive · GSAP animation · HTML, React & Vue

Updated October 20, 2026

About these sections

Cursor Effect & Back to Top Button Templates

Some of the best details on a website do not live in a section at all: they float above the page and react to the visitor. These templates take no space in your layout and work across the whole page.

The Cursor Follower puts a circle on the page that trails the mouse and uses a CSS blend mode such as difference or exclusion to invert the text and images beneath it. Set its size, colour, border, blend mode and smoothness, and it grows over links and switches itself off on touch screens.

The Back to Top Button appears after a scroll distance you choose and glides back to the top. Pick its icon, corner, size, colours, shape, animation and speed, and hide it on phones if you prefer.

Both are plain HTML, CSS and a short script, work with a keyboard where it matters, respect reduced motion and export to HTML, a ZIP, React or Vue. Pair them with the scroll effect sections for a polished, modern feel.

Cursor Follower (Blend Mode Circle): A circle that follows the mouse across the whole page and inverts or recolours the text and images under it with a CSS blend mode. Choose its size (about 50 to 100 pixels or any size you like), colour, blend mode (difference, exclusion, multiply and more), how smoothly it follows, and an optional border thickness and style. It can grow over links and buttons, switches off on touch screens and uses transforms only, so it stays smooth.

Back to Top Button: A floating scroll-to-top button that appears after the visitor has scrolled down a distance you choose and glides back to the top of the page when clicked. Choose the trigger distance, the arrow icon, the corner (bottom right or left), the size, colours, shape (circle, square, rounded or a custom corner radius), how it appears (fade, slide or zoom), how fast it scrolls, and whether it shows on mobile. It takes no space in your layout and works with a keyboard.

Cart Drawer (Mini Cart): The mini cart that slides in from the side when a shopper adds a product or taps the cart icon. It lists the items with photos, options and quantity steppers, shows a free-shipping progress bar and the subtotal, and offers Checkout, View cart and Continue shopping. It reads the shared cart, saved in the visitor's browser, so it works with the Product Detail, Product Grid and Wishlist sections and the ecommerce mega menus. It takes no space in the page.

Browse other categories

More Section Categories

CategoryWhat it is forSectionsIncludes
HeroAbove-the-fold hero sections with a headline, supporting text, call-to-action buttons and an image, screenshot or background photo.6SaaS Split Hero, Centred Gradient Hero, Image Background Hero, App Product Hero, Personal Portfolio Hero, Terminal Hero
NavbarResponsive navigation bars with a logo, links and a call-to-action button.6Simple Sticky Navbar, Floating Pill Navbar, Navbar With Announcement Bar, Ecommerce Mega Menu — Link Columns, Ecommerce Mega Menu — Image Tiles, Ecommerce Mega Menu — Department Sidebar
FeaturesFeature grids, alternating image-and-text rows and benefit lists.5Icon Grid Features, Split Features With Image, Bento Grid Features, Alternating Feature Rows, How It Works Steps
PricingPricing tables and plan cards with highlighted plans and feature lists.5Three-Tier Pricing, Dark Glow Pricing, Single Plan Pricing, Pricing List Rows, Pricing Comparison Table
TestimonialsCustomer quotes, review walls and case-study highlights.6Testimonial Wall, Testimonial Carousel, Testimonial Marquee, Testimonial Spotlight, Case Study Showcase, Reviews Summary & Rating
FAQFrequently asked question sections with expandable answers.3FAQ Accordion, Split FAQ With Contact Card, FAQ Grid
Call to actionClosing call-to-action banners and sign-up blocks.5Gradient CTA Banner, Split CTA With Image, Newsletter Signup CTA, CTA Strip, Loyalty Stamp Card
Stats & logosSocial-proof numbers and customer logo strips.3Animated Stats Counters, Scrolling Logo Cloud, Stats With Logos (Dark)
TeamTeam grids with photos, names and roles.4Team Grid, Team Carousel, Interactive Team Accordion, Team With Hiring CTA
About usAbout us and our story sections: a picture, the story, the founder, key facts and company values.1About Us & Our Story
ContactContact sections with details, maps and forms.6Contact Form With Details, Contact Options Cards, Contact With Map, Booking Request Form, Opening Hours & Location, Service Area Checker
FormsForms for every job: contact, multi-step, quote request, survey, application, RSVP, support, donation, waitlist and code verification, with floating labels, selects, switches, ratings, steppers and file drop areas.13Centered Contact Form, Floating Label Form, Multi-Step Form, Quote Request Form, Feedback Survey Form, Job Application Form, Event RSVP Form, Support Ticket Form, Donation Form, Waitlist Form, Verification Code Form, Profile & Preferences Form, Form With Image
BlogBlog and article grids with cover images.6Blog Post Cards, Featured Post With List, Editorial Post List, Legal & Long-Form Text Page, Blog Post Page (Single Article), Blog Grid with Pagination
Gallery & mediaPhoto galleries with filters and a lightbox, video sections and before-and-after sliders.3Filterable Image Gallery, Video Section with Poster, Before & After Slider
Scroll effectsScroll-driven sections built with GSAP: horizontal scroll galleries, pinned scroll stories and stacking cards.6Horizontal Scroll Gallery, Pinned Scroll Story, Stacking Cards, Scroll Path Timeline, 3D Scroll Carousel, Scroll Zoom Image Stack (Ken Burns)
Menus & listingsIndustry sections: restaurant menus with prices, property listings and class timetables.12Shop the Look, Collection Tiles, Services & Booking List, Restaurant Menu, Property Listings, Product Grid, Product Detail Page, Product Listing with Filters, You Might Also Like (Product Strip), Class Timetable, Project Cards, Price Estimator
MusicSections for bands, artists and labels: a music hero, an audio player with a track list, tour dates with tickets, a discography grid, a release countdown and streaming links.6Music Artist Hero, Audio Player & Track List, Tour Dates & Tickets, Discography Grid, New Release Spotlight, Streaming Links Bar
Login & Sign upLogin and register screens with email and password, social sign-in buttons, show password and a password strength hint.2Login Form (Sign In Page), Register Form (Sign Up Page)
Cart, checkout & ordersThe pages after Add to cart: cart page with promo code and shipping, checkout with order-by-message or payment link, order confirmation, order history and a wishlist.5Cart Page, Checkout Page, Order Confirmation (Thank You), Order History (My Orders), Wishlist Page
PopupsPopups that open after a delay, on exit intent or on scroll, for sign-ups, offers and announcements.1Popup & Promo Modal
AccessibilityFloating accessibility toolbars that let visitors enlarge text, change contrast, hide images, pause animations and more.1Accessibility Toolbar Widget
TimelinesTimelines for company history, roadmaps and milestones, laid out along a scrollable line.2Vertical Timeline, Horizontal Timeline
Social shareFloating social share bars that take no space in the layout, with share buttons for the popular networks.1Floating Social Share Bar
FooterWebsite footers with link columns, newsletter sign-up and social links.4Multi-Column Footer, Big Wordmark Footer, Footer With Newsletter, Minimal Footer

Real-world uses

Best Uses for Cursor & page effects Sections

🎨
Portfolio and agency websites (Cursor Follower (Blend Mode Circle))
Make large headlines and project images react to the pointer, so a studio site feels bold and playful before anyone reads a word.
📷
Photography and art sites (Cursor Follower (Blend Mode Circle))
Let visitors uncover inverted or tinted views of a photograph as they move, turning a simple gallery into something worth exploring.
📰
Blogs, news and documentation (Back to Top Button)
Give readers of long articles and docs a quick way back to the table of contents or menu after they reach the end of a section.
🛍
Shops and listings (Back to Top Button)
Let shoppers jump back to the filters and categories after scrolling through hundreds of products, without pressing the browser back button.
🛍
Small online stores (Cart Drawer (Mini Cart))
Give a shop built from these sections a fast cart that opens on every Add to cart and shows the running subtotal.
📦
Order-by-message shops (Cart Drawer (Mini Cart))
Let customers collect items in the drawer, then send the order by form or WhatsApp from the checkout page.

How it’s different

How These Section Templates Are Different

✎
Editable, not just copyable
Change text, links, images, colours and fonts in the browser before you export, instead of editing someone else’s code by hand.
◐
One theme for every section
Colours, fonts, radius and width are shared CSS variables, so every section you combine looks like one website.
⇲
Responsive by container
Container queries make each section adapt to its own width, in a full page, a column or a page builder.
✦
GSAP animation built in
Every section animates in with GSAP and ScrollTrigger, stays visible without JavaScript and respects reduced motion.
</>
HTML, React and Vue
Export a single HTML file, a ZIP with your images, a React component or a Vue component, or fork the code into My Code.
◍
Free, private, saved
No account and no watermark. Designs, uploaded images and fonts stay in your browser, with a backup file you can restore anywhere.

Step by step

How to Use

  1. 1
    Pick a sectionOpen one of the cursor & page effects sections above. Your edits autosave in your browser as you go.
  2. 2
    Edit the contentChange the text, buttons, links and images in the panel, and switch optional parts on or off.
  3. 3
    Add your brandPick colours, fonts, radius and width, or apply your saved brand kit; every section shares the same theme.
  4. 4
    Animate and previewChoose a GSAP entrance effect, press Play animation, and check desktop, tablet and mobile.
  5. 5
    ExportDownload HTML or a ZIP, copy a React or Vue component, or fork it into My Code.

Got questions?

Frequently Asked Questions

It adds a circle that trails the mouse across the page. With a blend mode like difference, the circle inverts the colours of the text and images under it, which gives the page a bold, interactive feel.

No. The cursor circle animates transforms only and stops its loop when idle, and the back to top button uses one throttled scroll listener. Neither loads a library or an extra file.

The back to top button does, and you can hide it on small screens. The cursor follower is not created on touch screens, because there is no pointer to follow.

Yes. Each template has an on or off switch in the editor, so you can keep the section in your page and turn the effect off whenever you like.

Cursor Follower (Blend Mode Circle): A circle that follows the mouse across the whole page and inverts or recolours the text and images under it with a CSS blend mode. Choose its size (about 50 to 100 pixels or any size you like), colour, blend mode (difference, exclusion, multiply and more), how smoothly it follows, and an optional border thickness and style. It can grow over links and buttons, switches off on touch screens and uses transforms only, so it stays smooth. Back to Top Button: A floating scroll-to-top button that appears after the visitor has scrolled down a distance you choose and glides back to the top of the page when clicked. Choose the trigger distance, the arrow icon, the corner (bottom right or left), the size, colours, shape (circle, square, rounded or a custom corner radius), how it appears (fade, slide or zoom), how fast it scrolls, and whether it shows on mobile. It takes no space in your layout and works with a keyboard. Cart Drawer (Mini Cart): The mini cart that slides in from the side when a shopper adds a product or taps the cart icon. It lists the items with photos, options and quantity steppers, shows a free-shipping progress bar and the subtotal, and offers Checkout, View cart and Continue shopping. It reads the shared cart, saved in the visitor's browser, so it works with the Product Detail, Product Grid and Wishlist sections and the ecommerce mega menus. It takes no space in the page.

Yes. Every section is free for personal and commercial work, with no account, no watermark and no attribution: export it on its own as HTML, React, Vue or Next.js from its page, or use it in a website you build and export in the Website Builder.