Sticky Header that Shrinks on Scroll
Sticky website header that shrinks its height, logo and wordmark after a short scroll, with a blurred backdrop and an accessible mobile menu.
Components tagged with "scroll".
10 components
Sticky website header that shrinks its height, logo and wordmark after a short scroll, with a blurred backdrop and an accessible mobile menu.
Pure CSS scroll-driven demo: reading progress bar with live percentage, fade-up cards, clip-path wipe and sliding text using scroll-timeline and view().
Dark vertical timeline whose glowing center line fills as you scroll, lighting up each milestone when it is reached. Alternating cards on desktop.
Bootstrap 5 section that pins to the viewport and slides photo cards sideways as the page scrolls down, with a counter and progress bar.
Floating Tailwind CSS back-to-top button that fades in after scrolling, smooth-scrolls up and returns keyboard focus to the page title.
Bootstrap 5 tabs that scroll horizontally on small screens, with fade edges, arrow buttons, scroll snapping and the active tab centered automatically.
Elements fade, slide, zoom or flip into view on scroll using IntersectionObserver and data-sr attributes, with stagger delays and reduced-motion support.
Round back-to-top button with an SVG ring that fills as you scroll, a percentage label and smooth scrolling, for the page or any scroll container.
Sticky Tailwind CSS reading progress bar with a gradient fill, clickable chapter markers, current section label, minutes left and a circular back-to-top indicator.
Bootstrap 5 navbar that sits transparently over a gradient hero and becomes a solid, blurred bar with a shadow when the page scrolls.