Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@typeform/embed-react

Package Overview
Dependencies
Maintainers
0
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typeform/embed-react

Embed library for [React](https://reactjs.org/).

  • 4.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
147K
decreased by-9.85%
Maintainers
0
Weekly downloads
 
Created

What is @typeform/embed-react?

@typeform/embed-react is an npm package that allows you to easily embed Typeform forms into your React applications. It provides a set of React components that make it simple to integrate Typeform's interactive forms, surveys, and quizzes into your web projects.

What are @typeform/embed-react's main functionalities?

Popup Embed

This feature allows you to embed a Typeform as a popup that can be triggered by a button click. The PopupButton component takes the Typeform ID and other optional styling properties.

import { PopupButton } from '@typeform/embed-react';

function App() {
  return (
    <div>
      <PopupButton id="YOUR_TYPEFORM_ID" style={{ fontSize: 20 }}>
        Click to open form
      </PopupButton>
    </div>
  );
}

Slider Embed

This feature allows you to embed a Typeform as a slider that slides in from the side of the screen. The Slider component takes the Typeform ID and optional styling properties.

import { Slider } from '@typeform/embed-react';

function App() {
  return (
    <div>
      <Slider id="YOUR_TYPEFORM_ID" style={{ width: '100%', height: '500px' }} />
    </div>
  );
}

Widget Embed

This feature allows you to embed a Typeform directly into your page as a widget. The Widget component takes the Typeform ID and optional styling properties.

import { Widget } from '@typeform/embed-react';

function App() {
  return (
    <div>
      <Widget id="YOUR_TYPEFORM_ID" style={{ width: '100%', height: '500px' }} />
    </div>
  );
}

Other packages similar to @typeform/embed-react

Keywords

FAQs

Package last updated on 20 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc