@bhaleraok65/react-tweet-card
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

react-tweet-card

NPM

A Tweet Card component you can use easily in your React projects. It doesn't rely on the Twitter API but instead lets you feed in all information about the tweet you're displaying. This way you can create cards for fictional tweets or tweets that have been deleted.

🐦 Demo and documentation



Installation

npm i react-tweet-card
# or
yarn add react-tweet-card

Features

  • [X] Responsive component
  • [X] Component scales to fit inside any container
  • [X] Light, dim and dark themes
  • [X] Dark mode preference support
  • [X] Gradient and blurred container styles
  • [X] styled-components and emotion support
  • [X] TypeScript support
  • [X] Support for verified and protected Twitter accounts
  • [X] Support for @mentions in tweet
  • [X] Support for links in tweet
  • [X] Support for hashtags in tweet
  • [X] Display number of replies, retweets and likes

Design credits

Component layout is based on Tweety by Ashwin G

Package Sidebar

Install

npm i @bhaleraok65/react-tweet-card

Weekly Downloads

2

Version

0.2.3

License

MIT

Unpacked Size

219 kB

Total Files

48

Last publish

Collaborators

  • bhaleraok65