@bolt/components-smooth-scroll

5.8.0 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.8.01latest
2.8.0-beta.10next
2.23.0-canary.12672.5.00canary

Version History

VersionDownloads (Last 7 Days)Published
5.8.01
5.5.00
5.0.00
4.6.00
4.2.00
4.1.00
4.0.00
3.6.00
3.4.00
3.1.20
3.1.00
3.0.10
2.30.01
3.0.00
2.29.00
2.28.00
2.26.00
2.25.10
2.25.00
2.24.00
2.23.00
2.23.0-canary.12672.5.00
2.23.0-canary.12670.5.00
2.23.0-canary.12666.5.00
2.23.0-canary.12664.5.01
2.23.0-canary.12662.5.00
2.23.0-canary.12658.5.00
2.23.0-canary.12656.5.00
2.23.0-canary.12655.5.00
2.23.0-canary.12648.5.00
2.23.0-canary.12640.5.00
2.23.0-canary.12634.5.00
2.23.0-canary.12620.5.00
2.23.0-canary.12617.5.00
2.23.0-canary.12615.5.00
2.23.0-canary.12612.5.00
2.23.0-canary.12573.5.00
2.23.0-canary.12570.5.00
2.23.0-canary.12560.5.00
2.23.0-canary.12555.5.00
2.23.0-canary.12551.5.00
2.23.0-canary.12548.5.00
2.23.0-canary.12544.5.00
2.22.2-canary.12540.5.00
2.22.1-canary.12533.5.00
2.22.0-canary.12522.5.00
2.22.0-canary.12518.5.01
2.22.0-canary.12517.5.00
2.22.0-canary.12485.5.00
2.22.0-canary.12482.5.00
2.22.0-canary.12471.5.00
2.22.0-canary.12464.5.00
2.22.0-canary.12458.5.00
2.22.0-canary.12445.5.00
2.22.0-canary.12437.5.00
2.22.0-canary.12435.5.00
2.22.0-canary.12432.5.00
2.22.0-canary.12430.5.00
2.22.0-canary.12427.5.00
2.22.0-canary.12418.5.00
2.22.0-canary.12412.5.00
2.22.0-canary.12406.5.00
2.21.00
2.21.0-canary.12395.5.00
2.21.0-canary.12394.5.00
2.21.0-canary.12392.5.00
2.21.0-canary.12390.5.00
2.21.0-canary.12384.5.00
2.21.0-canary.12371.5.00
2.21.0-canary.12369.5.00
2.21.0-canary.12352.5.00
2.21.0-canary.12349.5.00
2.21.0-canary.12348.5.00
2.21.0-canary.12345.5.00
2.21.0-canary.12337.5.00
2.21.0-canary.12324.5.00
2.21.0-canary.12312.5.00
2.21.0-canary.12310.5.00
2.21.0-canary.12309.5.00
2.21.0-canary.12300.5.00
2.20.2-canary.12297.5.00
2.20.2-canary.12294.5.00
2.20.1-canary.12283.5.00
2.20.1-canary.12259.5.00
2.20.1-canary.12257.5.00
2.20.1-canary.12250.5.00
2.20.00
2.20.0-canary.12222.5.00
2.20.0-canary.12206.5.00
2.19.2-canary.12200.5.00
2.19.1-canary.12191.5.00
2.19.1-canary.12182.5.00
2.19.1-canary.12170.5.00
2.19.00
2.19.0-canary.12156.5.00
2.19.0-canary.12151.5.00
2.19.0-canary.12150.5.00
2.19.0-canary.12146.5.00
2.19.0-canary.12145.5.00
2.19.0-canary.12138.5.00
2.19.0-canary.12120.5.00
2.19.0-canary.12118.5.00
2.19.0-canary.12104.5.00
2.19.0-canary.12091.5.00
2.18.2-canary.12075.5.00
2.18.2-canary.12071.5.00
2.18.00
2.18.0-canary.12057.5.00
2.18.0-canary.12055.5.00
2.18.0-canary.12045.5.00
2.18.0-canary.12035.5.00
2.18.0-canary.12034.5.00
2.18.0-canary.12033.5.00
2.18.0-canary.12032.5.00
2.18.0-canary.12030.5.00
2.18.0-canary.12025.5.00
2.18.0-canary.12023.5.00
2.18.0-canary.12022.5.00
2.18.0-canary.12019.5.00
2.18.0-canary.12018.5.00
2.18.0-canary.12013.5.00
2.18.0-canary.12012.5.00
2.18.0-canary.12011.5.00
2.18.0-canary.11977.5.00
2.18.0-canary.11996.5.00
2.18.0-canary.11994.5.00
2.18.0-canary.11986.5.00
2.17.1-canary.11976.5.00
2.17.00
2.17.0-canary.11975.5.00
2.17.0-canary.11966.5.00
2.17.0-canary.11957.5.00
2.17.0-canary.11956.5.00
2.17.0-canary.11955.5.00
2.17.0-canary.11948.5.00
2.17.0-canary.11947.5.00
2.17.0-canary.11931.5.00
2.17.0-canary.11929.5.00
2.17.0-canary.11923.5.00
2.17.0-canary.11922.5.00
2.17.0-canary.11910.5.00
2.17.0-canary.11909.5.00
2.17.0-canary.11902.5.00
2.17.0-canary.11889.5.00
2.17.0-canary.11880.5.00
2.17.0-canary.11878.5.00
2.17.0-canary.11877.5.00
2.16.00
2.16.0-canary.11870.5.00
2.16.0-canary.11857.5.00
2.16.0-canary.11829.5.00
2.16.0-canary.11827.5.00
2.15.3-canary.11820.5.00
2.15.3-canary.11797.5.00
2.15.2-canary.11785.5.00
2.15.20
2.15.2-canary.11781.5.00
2.15.1-canary.11765.5.00
2.15.1-canary.11764.5.00
2.15.0-canary.11760.5.00
2.15.00
2.15.0-canary.11722.5.00
2.15.0-canary.11706.5.00
2.15.0-canary.11702.5.00
2.15.0-canary.11686.5.00
2.15.0-canary.11679.5.00
2.15.0-canary.11674.5.00
2.15.0-canary.11659.5.00
2.15.0-canary.11639.5.00
2.15.0-canary.11605.5.00
2.15.0-canary.11599.5.00
2.15.0-canary.11591.5.00
2.15.0-canary.11590.5.00
2.15.0-canary.11588.5.00
2.15.0-canary.11565.5.00
2.15.0-canary.11558.5.00
2.15.0-canary.11557.5.00
2.14.1-canary.11548.5.00
2.14.1-canary.11513.5.00
2.14.0-canary.11511.5.00
2.14.00
2.14.0-canary.11506.5.00
2.14.0-canary.11502.5.00
2.14.0-canary.11501.5.00
2.14.0-canary.11498.5.00
2.14.0-canary.11492.5.00
2.14.0-canary.11481.5.00
2.14.0-canary.11477.5.00
2.14.0-canary.11473.5.00
2.14.0-canary.11467.5.00
2.14.0-canary.11463.5.00
2.14.0-canary.11406.5.00
2.14.0-canary.11403.5.00
2.14.0-canary.11399.5.00
2.14.0-canary.11389.5.00
2.14.0-canary.11374.5.00
2.14.0-canary.11372.5.00
2.14.0-canary.11359.5.00
2.14.0-canary.11357.5.00
2.14.0-canary.11344.5.00
2.14.0-canary.11322.5.00
2.14.0-canary.11311.5.00
2.13.1-canary.11309.5.00
2.13.00
2.13.0-canary.11303.5.00
2.13.0-canary.11274.6.00
2.13.0-canary.11269.6.00
2.13.0-canary.11268.6.00
2.13.0-canary.11267.6.00
2.13.0-canary.11210.6.00
2.13.0-canary.11192.6.00
2.13.0-canary.11180.6.00
2.13.0-canary.11178.6.00
2.13.0-canary.11141.6.00
2.13.0-canary.11117.6.00
2.13.0-canary.11116.6.00
2.13.0-canary.11115.6.00
2.13.0-canary.11114.6.00
2.13.0-canary.11111.6.00
2.13.0-canary.11102.6.00
2.12.00
2.12.0-canary.11099.6.00
2.12.0-canary.11095.6.00
2.12.0-canary.11083.6.00
2.12.0-canary.11081.6.00
2.12.0-canary.11079.6.00
2.12.0-canary.11075.6.00
2.12.0-canary.11073.6.00
2.12.0-canary.11044.6.00
2.12.0-canary.11041.6.00
2.12.0-canary.11034.6.00
2.12.0-canary.11019.6.00
2.12.0-canary.11018.6.00
2.12.0-canary.11015.6.00
2.12.0-canary.11005.6.00
2.11.4-canary.11003.6.00
2.11.4-canary.11002.6.00
2.11.3-canary.10997.6.00
2.11.3-canary.10995.6.00
2.11.3-canary.10981.6.00
2.11.20
2.11.00
2.11.0-canary.2fa99416a.00
2.11.0-canary.10844.6.00
2.11.0-canary.10836.6.00
2.11.0-canary.10823.6.00
2.10.0-canary.10793.6.00
2.10.0-canary.10787.6.00
2.10.0-canary.10781.6.00
2.10.0-canary.10778.6.00
2.10.0-canary.10759.6.00
2.9.20
2.10.0-canary.10748.6.00
2.9.2-canary.10746.6.00
2.9.1-canary.10740.6.00
2.9.1-canary.10731.6.00
2.9.1-canary.10726.6.00
2.9.00
2.9.0-canary.10710.6.00
2.9.0-canary.10709.6.00
2.9.0-canary.10708.6.00
2.9.0-canary.10705.6.00
2.9.0-canary.10701.6.00
2.9.0-canary.ff66ba780.00
2.9.0-canary.6b70020b5.00
2.8.4-canary.bde01a443.00
2.8.10
2.8.00
2.8.0-beta.60
2.8.0-beta.40
2.8.0-beta.30
2.8.0-canary.bcab70307.00
2.8.0-canary.0eafc7d56.00
2.8.0-canary.0c7097ab5.00
2.8.0-canary.bfa021fa1.00
2.8.0-beta.20
2.8.0-canary.33b5593d7.00
2.8.0-beta.10
2.7.00
2.6.00
2.6.0-beta.20
2.6.0-beta.10
2.5.60
2.5.30
2.5.20
2.5.10
2.4.00
2.3.10
2.4.0-beta.00
2.3.00
2.3.0-rc.00
2.2.20
2.2.10
2.2.00
2.2.0-rc.10
2.1.60
2.1.50
2.1.40
2.1.30
2.1.10
2.1.00
2.1.0-beta.01
2.0.00
2.0.0-beta.30
2.0.0-beta.20
2.0.0-beta.10
2.0.0-beta.00
1.8.00
1.7.01
1.6.40
1.6.00
1.5.20
1.5.10
1.5.00
1.4.10
0.10.70
1.4.00
1.2.40
1.2.00
1.1.20
1.1.10
1.1.01
0.10.51
1.0.00
1.0.0-rc.120
1.0.0-rc.110
1.0.0-alpha.5f29a4c10
1.0.0-rc.90
1.0.0-rc.80
1.0.0-rc.70
1.0.0-rc.60
1.0.0-rc.50
1.0.0-rc.40
1.0.0-rc.31
1.0.0-rc.20
1.0.0-rc.10
0.9.50
0.9.00
0.9.0-rc.60
0.9.0-rc.50
0.9.0-rc.40
0.9.0-rc.30
0.9.0-rc.20
0.9.0-rc.10
0.9.0-rc.00
0.1.0-beta.40
0.1.0-beta.20
0.1.0-beta.10
0.1.0-beta.00
0.1.0-alpha.20
0.1.0-alpha.00

Package Sidebar

Install

npm i @bolt/components-smooth-scroll

Weekly Downloads

9

Version

5.8.0

License

MIT

Unpacked Size

26.7 kB

Total Files

9

Last publish

Collaborators

  • mikemai2awesome
  • evanlovely
  • remydenton
  • dmorse
  • colbycook