Get started with shepherd CDN
MIT licensed
The Shepherd.js library simplistically builds user tours and guides in web apps.
Tags:- guider
- tour
- javascript
- css
Stable version
Copied!
How to start using shepherd CDN
// Include Shepherd library from the CDN
const shepherd = new window.Shepherd.Tour({
defaults: {
classes: 'shepherd-theme-arrows',
scrollTo: false,
},
});
// Define your tour steps
const steps = [
{
text: 'Welcome to our application!',
attachTo: {
element: '#welcome-message',
on: 'bottom',
},
},
{
text: 'This is the dashboard.',
attachTo: {
element: '#dashboard',
on: 'right',
},
buttons: [
{
text: 'Next',
action: shepherd.next,
},
],
},
{
text: 'You can customize the tour steps.',
attachTo: {
element: '#customizable',
on: 'bottom',
},
buttons: [
{
text: 'Next',
action: shepherd.next,
},
{
text: 'Customize this step',
action: function() {
console.log('Customizing step...');
},
},
],
},
];
// Initialize the tour
shepherd.addSteps(steps).start();
All versions
0.2.0
0.2.1
0.3.0
0.3.1
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.5.0
0.5.1
0.6.0
0.6.1
0.6.10
0.6.11
0.6.12
0.6.13
0.6.14
0.6.15
0.6.16
0.6.2
0.6.3
0.6.4
0.6.5
0.6.6
0.6.7
0.6.8
0.6.9
0.7.0
0.7.1
0.7.2
1.0.0
1.0.1
1.0.2
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.2.0
1.2.1
1.2.2
1.3.0
1.4.0
1.5.0
1.5.1
1.6.0
1.6.1
1.6.2
1.7.0
1.7.1
1.8.0
1.8.1
10.0.0
10.0.1
11.0.0
11.0.1
11.1.0
11.1.1
*** 11.2.0
12.0.0-0
12.0.0-1
12.0.0-alpha.10
12.0.0-alpha.11
12.0.0-alpha.12
12.0.0-alpha.13
12.0.0-alpha.2
12.0.0-alpha.3
12.0.0-alpha.4
12.0.0-alpha.5
12.0.0-alpha.6
12.0.0-alpha.7
12.0.0-alpha.8
12.0.0-alpha.9
12.0.0-shepherd.js
12.0.1-shepherd.js
12.0.2-shepherd.js
12.0.3-shepherd.js
12.0.4-shepherd.js
12.0.5-shepherd.js
12.0.6-shepherd.js
13.0.0-shepherd.js
13.0.1-shepherd.js
13.0.2-shepherd.js
13.0.3-shepherd.js
14.0.0-shepherd.js
14.0.1-shepherd.js
14.1.0-shepherd.js
14.3.0-shepherd.js
2.0.0-beta.1
8.0.0
8.0.1
8.0.2
8.1.0
8.2.0
8.2.1
8.2.2
8.2.3
8.3.0
8.3.1
9.0.0
9.1.0
9.1.1