Scheduling Widget
DaySchedule's appointment scheduling widget to take online bookings for your services directly through your website. Just add a few lines of code to integrate the booking calendar on your website.
Install dayschedule-widget package from NPM
npm i dayschedule-widget
Or, add the JavaScript into your website header from jsdelivr CDN
<script src="https://cdn.jsdelivr.net/npm/dayschedule-widget@latest/dist/dayschedule-widget.min.js" defer></script>
Integration Examples
Find fully functional, open-source examples of how to embed the scheduling widget across platforms and front-end frameworks. Whether you're using React, Angular, Vue, or plain HTML/JavaScript, these examples help you quickly integrate appointment scheduling into your website to go live in few minutes.
daySchedule.initPopupWidget({
url: 'https://meet.dayschedule.com'
});
<dayschedule-widget url='https://meet.dayschedule.com' options='{ "color": {
"primary": "#0f0980",
"secondary": "#afeefe"
}}'>
</dayschedule-widget>
daySchedule.initPopupWidget({
url: 'https://meet.dayschedule.com',
color: {
primary: '#f44336',
secondary: '#fbbdb8'
}
});
daySchedule.initPopupWidget({
url: 'https://meet.dayschedule.com/product-demo',
questions: {
name: 'Vikash Rathee',
email: 'vikash.rathee@dayschedule.com'
}
});
daySchedule.initPopupWidget({
url: 'https://meet.dayschedule.com/product-demo'
});
daySchedule.initPopupWidget({
url: 'https://meet.dayschedule.com/product-demo?date=2025-05-18'
});
daySchedule.initPopupWidget({
url: 'https://meet.dayschedule.com/product-demo',
hideHeader: true
});
daySchedule.initPopupWidget({
url: 'https://meet.dayschedule.com/product-demo',
hideEvent: true
});
Frequently Asked Questions
What is the calendar scheduling widget?
The DaySchedule Calendar scheduling widget is a small JavaScript code to add on any website. The main purpose of this widget is to allow visitors to book an appointment with you directly from your website.
How do I make a booking calendar for my website?
- Create your scheduling page
- Create your booking calendar using event or services
- Connect with your Google calendar
- Use the form above to generate code
- Embed the code on your website
Can I add the appointment booking widget on my Wordpress website?
Yes, you can add the appointment booking widget on Wordpress, Joomla, Wix, Shopify or any other CMS. For Wordpress, just install our free plugin and add the shortcode on any post or page.
[dayschedule url="https://meet.dayschedule.com" type="popup"]
Can I white-label the appointment booking software on my website?
Yes, you can remove the DaySchedule logo, set your own brand color to white-label the complete appointment booking system.
How to use advanced options in inline scheduling widget?
You can set the options
attribute with values as JSON string to set custom options. For example, to hide the calendar header -
<dayschedule-widget options='{"hideHeader": true}' url='https://meet.dayschedule.com'>
</dayschedule-widget>
Can I use the widget in Free/Basic plan?
Yes, the widget is inclusive in the Free plan. You may use our free appointment scheduler to add booking calendar widget on your website