Socket
Book a DemoInstallSign in
Socket

@bolt/components-smooth-scroll

Package Overview
Dependencies
Maintainers
5
Versions
351
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bolt/components-smooth-scroll

Smooth Scroll Component in Bolt

5.8.0
latest
Source
npmnpm
Version published
Weekly downloads
18
1700%
Maintainers
5
Weekly downloads
 
Created
Source

patternType: "smooth scroll"

Smooth Scroll

Including this component will apply smooth scroll behavior to all anchor links on a page.

Usage

  • When using a fixed header, you can avoid scrolling past anchors (and hiding the start of the content under the fixed header) by adding the class js-bolt-smooth-scroll-offset to the fixed header element itself.
  • To disable smooth scrolling for an individual link, add the data-scroll-ignore to the link attributes.
  • TODO: Document additional link-specific options.

Keywords

bolt design system

FAQs

Package last updated on 06 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.