Example Code: Popup Button with React
Steps
- Install the library into your project
npm install @typeform/embed-react --save
- Import selected components into the app
import { PopupButton } from '@typeform/embed-react'
- Render the component and apply configurations with properties
const PopupForm = () => {
return (
<PopupButton
id='LQTzMYOw'
className='primary-button'
size={75}
>
View form
</PopupButton>
);
}