← Back

useCalendly() Composable

The useCalendly() Composable is loaded like this:

const calendly = useCalendly()
const rootElement = ref()

calendly.initBadgeWidget({
  url: url.value,
  text: 'Schedule time with me',
  rootElement: rootElement.value,
})

Input a Calendly URL (e.g. https://calendly.com/demo/30min)