vue-tweet-pure

A Vue 3 component for embedding tweets in your Vue.js applications.
716
Install
npm install vue-tweet-pure
Latest Version:0.3.1
Vue:3
License:MIT
Last Updated:Sep 30, 2026
Links: GitHub  ·  npm
Maintainer: locietta

vue-tweet-pure

npm version TypeScript npm bundle size License

A Vue 3 component for embedding tweets in your Vue.js applications. This is a Vue port of react-tweet.

Features

  • 🚀 Fast loading - SSR-ready, no external scripts or iframes
  • 💪 Native Vue components - no dependency on Twitter's widgets.js
  • 🎨 Customizable - style the tweet component to match your app's design
  • Does NOT require using the Twitter API

Installation

npm install vue-tweet-pure
# or
yarn add vue-tweet-pure
# or
pnpm add vue-tweet-pure

Usage

<script setup>
import { Tweet } from 'vue-tweet-pure'
import 'vue-tweet-pure/style.css' // include default twitter component styles
</script>

<template>
  <Tweet id="1234567890" />
</template>

Defining TwitterComponents to override default components or using vue-tweet-pure/api to build your own tweet component is also possible. I'm not done with the documentation yet, but you can check out the react-tweet documentation for now. The API is almost same.

NOTE: Server component support is not implemented yet.

Development

Contributions are welcome! We're using turbo monorepo to manage the packages. To get started:

  1. Clone the repository
  2. Install dependencies: pnpm i --frozen-lockfile
  3. Start the development server:
    • pnpm dev --filter vue-tweet-pure for basic playground with Vite
    • pnpm dev --filter vitepress-app for more complex example with VitePress, where you can easily toggle light/dark to test the component in different themes

Credits

This package is a Vue 3 port of react-tweet by Vercel. Special thanks to their team for the original implementation and API support.

License

MIT © 2025 Locietta

Related Packages

vue-tweet-embed

Embed tweets in your vue.js app

121,631 110
@jacksongross/vue-tweet-embed

Embed tweets in your Vue 3 app

27,408 8
vue-tweet

Embed tweets just by giving the ID of a Tweet

116,040 45
vue-twitter-timeline

A Vue3 component which allows you to easily embed twitter timelines.

2,591
vue-lite-youtube-embed

A private by default, faster and cleaner YouTube embed component for Vue applica...

215,443 63

Version History

Version Released Vue License
0.3.1 >= 3.3.0 MIT
0.3.0 >= 3.3.0 MIT
0.2.1 >= 3.3.0 MIT
0.2.0 >= 3.3.0 MIT
0.1.0 >= 3.3.0 MIT