Skip to content

Advanced Calendly widget embedding React component, configurable, zero dependency

License

Notifications You must be signed in to change notification settings

valosan/react-embed-calendly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embed Calendly widget in your React page.

Zero-dependency, functional TypeScript component to embed Calendly widget in the react app.

Read more

https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview

Example

<EmbedCalendly
  url="https://calendly.com/username/event?hide_event_type_details=1&hide_gdpr_banner=1"
  prefill={{
    name: name,
    email: email,
    customAnswers: {
      a1: "test1" /** Default values for custom questions **/
      a2: "test2"
    }
  }}
  onCalendlyEvent={event => {
    if (event.data.event.indexOf("calendly.event_scheduled") === 0) {
      calendlyScheduled();
    }
  }}
/>

About

Advanced Calendly widget embedding React component, configurable, zero dependency

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published