Typebot Docs home pagelight logodark logo
  • Github
  • Dashboard
  • Dashboard
Learn
Self-Hosting
Contribute
API Reference
  • Community
  • Get Started
    • Welcome
    • Creating a typebot
    Flow
    • Graph
    • Blocks
    • Variables
    • Publish
    • Share
    • Context menu
    • Export / Import a typebot
    Theme
    • Overview
    Settings
    • Overview
    Deploy
    • Web
      • Overview
      • Libraries
        • HTML & Javascript
        • React
        • Next.js
      • WordPress
      • Iframe
      • Script embed snippet
      • Webflow
      • Add a custom domain
    • WhatsApp
    Results
    • Overview
    • Analytics
    Workspace
    • Overview
    • Add members and guests
    • Subscription
    • User preferences
    Guides
    • Add a subscriber to MailerLite
    • Dynamic avatars
    • Enable RTL
    • Forward UTM parameters to a typebot
    Misc
    • FAQ
    • Privacy & Security Policies
    • Report Abuse
    • Breaking changes
    Libraries

    Next.js

    This lib is a convenient wrapper around the Typebot React library. It makes sure the components are lazy loaded.

    ​
    Install

    Copy
    npm install @typebot.io/js @typebot.io/nextjs
    

    ​
    Usage

    Use it like you would use the Typebot React library.

    Suggest edits
    ReactWordPress
    websitediscordtwittergithub
    Powered by Mintlify
    On this page
    • Install
    • Usage
    Assistant
    Responses are generated using AI and may contain mistakes.