0.2.5 • Published 1 year ago

react-tweet-card v0.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

:bird: Demo and documentation


Installation

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

Features

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

Server-side rendering

react-tweet-card can only be rendered on the client side as it loads its CSS directly into the DOM. To make it work with SSR, try importing the package dynamically.

Design credits

Component layout is based on Tweety by Ashwin G

0.2.3

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.2

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.9

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.0.3

2 years ago

0.1.1

2 years ago

0.0.9

2 years ago

0.1.7

2 years ago

0.0.8

2 years ago

0.1.4

2 years ago

0.0.5

2 years ago

0.1.3

2 years ago

0.0.4

2 years ago

0.1.6

2 years ago

0.0.7

2 years ago

0.1.5

2 years ago

0.0.6

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago