Skip to content

Frontify/typeform-block

Repository files navigation

Frontify logo

Typeform block

The Typeform block allows you to effortlessly add any Typeform form directly to your Guidelines, without the need for a tedious embed code. All you have to do is supply the form id, and you’re ready to go.

A screenshot of the Typeform block empty state

Who this project is for

This repository contains the source-code for the Typeform block. It's meant as an example for how to build custom content blocks with the Frontify Brand SDK. This is an extended version of the block you're building if you follow the tutorial in the Brand SDK documentation. The actual source-code for the block you're building in the tutorial can be found here.

Project dependencies

Before you can build the Typeform block, ensure you have:

You can find a comprehensive guide on all the prerequisites here.

Instructions for using the Typeform block

Get started with the Typeform block by cloning the repository, installing its dependencies, and running the serve task.

  1. Clone the repository

    git clone [email protected]:Frontify/typeform-block.git

  2. Install the project dependencies

    npm ci

  3. Run the serve task

    npm run serve

  4. In your Frontify Guidelines switch to the edit mode (pencil icon in the sidebar)

  5. Click on the plus icon and add a "Local Block Development" block

    A screenshot of the content block list

    Note If you can't find the "Local Block Development" block, you probably don't have access to the Brand SDK and Marketplace yet. Please reach out to use on Slack so we can activate it for you.

  6. Choose port (default is 5600) and click OK

    A screenshot of the port selection

The Guidelines should now show the Typeform block. If you don't see it, try refreshing the page.

Additional documentation

For more information check out the Frontify Brand SDK documentation.