
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
react-simple-rotating-text
Advanced tools
A simple rotating animation text component
npm install --save react-simple-rotating-text
import React, { Component } from 'react'
import { RotatingText } from 'react-simple-rotating-text'
import 'react-simple-rotating-text/dist/index.css'
class Example extends Component {
render() {
return <RotatingText texts={['hello', 'world']} />
}
}
import React, { Component } from 'react'
import { RotatingText } from 'react-simple-rotating-text'
import 'react-simple-rotating-text/dist/index.css'
class Example extends Component {
render() {
return <RotatingText texts={['hello', 'world']}
colors={['red', 'blue']}
/>
}
}
import React, { Component } from 'react'
import { RotatingText } from 'react-simple-rotating-text'
import 'react-simple-rotating-text/dist/index.css'
class Example extends Component {
render() {
return <RotatingText texts={['hello', 'world']}
backgroundColors={['red', 'blue']}
/>
}
}
import React, { Component } from 'react'
import { RotatingText } from 'react-simple-rotating-text'
import 'react-simple-rotating-text/dist/index.css'
class Example extends Component {
render() {
return <RotatingText texts={['hello', 'world']}
animation='fade'
/>
}
}
import React, { Component } from 'react'
import { RotatingText } from 'react-simple-rotating-text'
import 'react-simple-rotating-text/dist/index.css'
class Example extends Component {
render() {
return <RotatingText texts={['hello', 'world']}
animation='slide'
direction='vertical'
/>
}
}
import React, { Component } from 'react'
import { RotatingText } from 'react-simple-rotating-text'
import 'react-simple-rotating-text/dist/index.css'
class Example extends Component {
render() {
return <RotatingText texts={['hello', 'world']}
animation='scale'
/>
}
}
propery | description | required | default | allowed values |
---|---|---|---|---|
texts | An array of strings | true | ||
colors | An array of strings of colors | false | hex code of color | |
backgroundColors | An array of strings of background colors | false | hex code of color | |
duratrion | duration of the animation | false | 2.5s | number |
animation | name of the animation | false | fade | fade, slide, scale |
direction | direction of animation | false | vertical | horzontal or vertical |
className | Custom classes for styling | false |
MIT © dilpreetsio
FAQs
> A simple rotating animation text component for react apps
The npm package react-simple-rotating-text receives a total of 139 weekly downloads. As such, react-simple-rotating-text popularity was classified as not popular.
We found that react-simple-rotating-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.