snelsi / react-awesome-ticker

🐍 Smart Modern Lightweight Fully-Typed CSS React Ticker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐍 Lightweight Ticker Component for React

Add a running marquee line to your website with a magic of native CSS animations

npm (scoped) Bundle Size type definition License: MIT

⭐ Uses native css animations

πŸ¦„ Written in TypeScript

πŸ₯Έ Highly customizable

🦚 Supports multiple modes and directions

Install

yarn add react-awesome-ticker styled-components react-resize-detector

or

npm install --save react-awesome-ticker styled-components react-resize-detector

Usage

import Ticker from 'react-awesome-ticker';

const MyTicker = () => (
  <Ticker>
    <h3>It's</h3>
    <h3>as</h3>
    <h3>simple</h3>
    <h3>as</h3>
    <h3>that!</h3>
    <h3>πŸ™‚</h3>
  </Ticker>
)

This Package is Pure ESM

It cannot be require()'d from CommonJS.
More info here.

TypeScript

The module is written in TypeScript and type definitions are included.

Contributing

Contributions, issues and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

LICENSE

MIT

About

🐍 Smart Modern Lightweight Fully-Typed CSS React Ticker

License:MIT License


Languages

Language:TypeScript 93.2%Language:JavaScript 6.1%Language:Shell 0.7%