How to Embed Twitter/X Feed on a Website

July 10, 2026

A Twitter/X feed is a great way to keep your website updated with your latest posts and conversations. Whether you’re sharing company news, promoting new content, or engaging with your audience, displaying your Twitter/X feed helps visitors stay connected with your latest updates without leaving your website.

With Jotform’s Twitter/X Feed Widget, you can showcase your posts in a customizable feed that complements your website’s design. Customize how your feed looks, choose what information to display, and embed it on your website in just a few simple steps.

Notes

  • Before your posts can appear in the widget, you’ll need to connect a valid Twitter/X account. Make sure you have access to the account you want to display.
  • The widget automatically displays the latest posts from your connected account. As you publish new posts on Twitter/X, the feed will update accordingly.

Creating Your Twitter / X Feed Widget

Before you can embed the widget on your website, you’ll first need to connect your Twitter/X account and customize how your feed will appear. Here’s the quick way to do it:

  1. On your Workspace page, click on Create on the top-left side of the screen.
Workspace page highlighting the Create button in the top-left corner to start a new project
  1. In the window that opens up, click on Website Widget.
Create window displaying the Website Widget option for creating a new website widget
  1. Next, in the Search bar at the top of the Choose Website Widget page, search for the Twitter / X Feed.
  2. Then, in the search results, click on Use Widget.
Choose Website Widget page showing the Twitter/X Feed widget searched in the search bar with the Use Widget button
  1. Now, in Website Widgets, under the General tab in the Widget Properties panel on the right side of the page, configure the following options:
    • Connected Sources
      • Platform — Choose the social media platform you want to display content from. For this widget, select X.
      • Source Type — Choose the type of Twitter / X Feed content to display, such as posts from a specific account or another supported source.
      • Source — Enter or select the Twitter / X Feed account or source you want the widget to display.
      • Add Source Button — Click this after setting up the Twitter / X Feed sources to display content
    • Heading — Toggle this to show or hide the widget’s header.
    • Widget Title — Add a title to appear at the top of the widget.
Twitter/X Feed widget settings showing Platform, Source Type, Source, Add Source, Heading, and Widget Title options
  1. Then, scroll down to the bottom and continue to set up these things:
    • Widget Description  — Add a short description below the title to provide context for your Twitter / X Feed.
    • Source Tabs — Show tabs that let visitors switch between multiple connected Twitter / X Feed sources.
    • Author Name — Show or hide the name of the Twitter / X Feed account that published each post.
    • Author Picture — Show or hide the profile picture of the Twitter / X Feed account.
    • Publication Date — Show or hide the date each Twitter / X Feed post was published.
    • Post Text — Show or hide the caption or text associated with each Twitter / X Feed post.
    • Source Label — Display a label indicating which connected Twitter / X Feed source each post belongs to.
Twitter/X Feed widget General settings showing Widget Description, Source Tabs, Author Name, Author Picture, Publication Date, Post Text, and Source Label options
  1. Once you’re done, switch to the Styles tab and manage the following options:
    • Color Scheme — Choose a predefined color scheme or customize the widget’s colors to match your website.
    • Jotform Branding — Show or hide Jotform branding on the widget, depending on your plan and preferences.
    • Post Style — Select the overall appearance of each Twitter / X Feed post card.
    • Action on Post Click — Choose what happens when a visitor clicks a post, such as opening it in a popup or redirecting to Twitter / X Feed.
    • Popup Style — Customize the appearance of the popup displayed when visitors open a post.
    • Image Ratio — Adjust how images are cropped or displayed within each post.
Twitter/X Feed widget Styles settings showing Color Scheme, Jotform Branding, Post Style, Post Click Action, Popup Style, and Image Ratio options
  1. Next, scroll down and set up these other options:
    • Actions Bar — Show or hide the action bar containing engagement or sharing options.
    • Source Style — Customize how the connected Twitter / X Feed source information is displayed.
    • External Links — Show or hide links that direct visitors to Twitter / X Feed.
    • Card Accent Colors — Choose how accent colors are applied to your Twitter / X Feed cards. You can use Instagram’s default platform colors, apply a single custom accent color across all cards, or turn off card accents altogether.
    • Accent Color — Choose the accent color used throughout the widget.
    • Background Color — Set the overall background color of the widget.
    • Post Background — Choose the background color of each post card.
Twitter/X Feed widget Styles settings showing Actions Bar, Source Style, External Links, Card Accent Colors, Accent Color, Background Color, and Post Background options
  1. Moving on, scroll down and continue to configure these things:
    • Post Text Color — Set the color of the text displayed in each post.
    • Post Link Color — Choose the color used for links displayed within posts.
    • Popup Background — Set the background color of the post popup.
    • Popup Backdrop Color — Enter a CSS color of the overlay displayed behind the popup.
    • Popup Text Color — Set the text color used inside the popup.
    • Arrow Background — Choose the background color of the popup navigation arrows.
Customizing the Twitter/X Feed widget by configuring post text and link colors, popup colors, backdrop color, and navigation arrow background
  1. After that, scroll down to the bottom and set up these options:
    • Arrow Color — Set the color of the navigation arrow icons.
    • Pagination Color — Customize the color of the pagination controls.
    • Text Size — Adjust the size of the text displayed in your Twitter/X feed to improve readability or better match your website’s design.
    • Corner Radius — Control how rounded the corners of the feed cards appear, from sharp edges to a softer, more modern look.
    • Card Shadow — Enable or adjust the shadow effect around each post card to add depth.
    • Custom CSS — Apply your own CSS styles for advanced customization beyond the built-in settings.
Customizing the Twitter/X Feed widget by configuring navigation colors, text size, corner radius, card shadow, and custom CSS
  1. Following that, switch to the Layout tab and configure the following options:
    • Layout Choose how your Twitter / X Feed posts are arranged, such as in a grid, masonry, carousel, or another supported layout.
    • Width Adjust the overall width of the widget to fit your website’s layout.
    • Columns Choose how many columns of posts are displayed at once. More columns allow more posts to appear side by side.
    • Rows — Set the number of rows displayed in the widget, controlling how many posts are visible vertically.
    • Item Spacing — Adjust the amount of space between individual posts for a more compact or spacious layout.
Configuring the Twitter/X Feed widget layout by adjusting the display style, width, columns, rows, and spacing between posts
  1. Then, scroll down to the bottom and continue to set up these things:
    • Post Limit Choose the maximum number of Twitter/X posts the widget displays at one time.
    • RTL — Enable Right-to-Left (RTL) layout for languages that are read from right to left.
    • Open Links in New Tab — Choose whether Twitter / X Feed links open in a new browser tab.
    • Align Cards by Height — Make all post cards the same height for a cleaner, more consistent layout, even when posts contain different amounts of text.
Configuring the Twitter/X Feed widget by setting the post limit, enabling RTL support, opening links in a new tab, and aligning cards by height

That’s it. Your Twitter/X Feed Widget is now set up and ready. Next, you’ll copy its embed code so you can add it to your website.

Getting Your Twitter / X Feed Widget Embed Code

Once you’ve finished customizing your Twitter/X Feed Widget, you’re ready to get its embed code. It’s easier than you think:

  1. In Website Widget, in the pink navigation bar at the top of the page, click on Publish.
Website Widget Builder showing the Publish button in the pink navigation bar at the top of the page

Note

If you’re not logged in, you’ll be asked to log in to your Jotform account or sign up for a Jotform account before you can continue using your widgets.

  1. Then, click on Copy Code.
  2. Or, if your website is built on a supported platform, click on Platforms in the menu on the left. 
Website Widget Publish page showing the Copy Code button and Platforms option for embedding
  1. Next, in the Search bar at the top of the Platforms page, search for the specific platform.
Website Widget Platforms page showing the search bar used to find a supported website platform
  1. For this example, we’ll use the Wix platform. Click on its icon.
Website Widget Platforms page showing the Wix icon selected for platform-specific embedding instructions
  1. Finally, click on Copy Code, and you’re done.
Website Widget embedding page showing the Copy Code button for adding the widget to a Wix website

That’s it. Simply paste the embed code into your website, and the widget will automatically display your latest Twitter/X posts for visitors to explore. Take a look at the screenshot below to see how it appears on a sample website.

Twitter/X Feed widget embedded on a sample website displaying the latest posts from a connected X account

Note

You can manage your widget anytime from the My Widgets page. For a step-by-step guide on how to do it, check out our full tutorial on How to Manage Website Widgets.

Pro Tips

  • If your posts include images or videos, leave enough spacing between feed items to make the content easier to browse.
  • Adjust the Post Limit, Columns, and Rows settings to find a layout that looks great without overwhelming your page.

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Podo Comment Be the first to comment.
Still have unanswered questions?

We’re here for you 24/7, anytime you need us day or night. Have a question or need a hand with something? Our team is always ready to help out.