react-tweet-card
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.
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