
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@tenedev/marquee
Advanced tools
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
@tenedev/marquee
is a lightweight and easy-to-use React component library that enables smooth, customizable scrolling text effects in your web applications. Built with framer-motion
, it offers a seamless animation experience, allowing you to create engaging dynamic content like announcements, news tickers, and promotional banners. With simple integration and flexible customization options, @tenedev/marquee
is perfect for adding motion and attention-grabbing elements to your site.
The Marquee
component scrolls text horizontally in a loop. It can be customized to scroll in either left-to-right or right-to-left directions. Powered by framer-motion
, it offers seamless, high-performance animations with easy-to-use props to control the behavior.
framer-motion
, @tenedev/marquee
provides smooth, responsive scrolling effects that enhance the user experience.To get started with @tenedev/marquee
, install the package and set up your React app:
npm i @tenedev/marquee
For detailed installation steps, check out the Getting Started guide.
Prop | Type | Default | Description |
---|---|---|---|
children | ReactNode | — | The content to be displayed in the marquee (e.g., text, images, components). |
speed | number | 50 | The speed of the scrolling animation. |
gap | number | 10 | The gap (in pixels) between items in the marquee. |
Here’s how to use the Marquee
component:
import { Marquee } from "@tenedev/marquee";
<Marquee speed={75} gap={20}>
<span>Item 1</span>
<span>Item 2</span>
<span>Item 3</span>
</Marquee>
framer-motion
is installed since it is a peer dependency.speed
prop determines the animation duration.gap
prop adjusts spacing between child elements.FAQs
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
We found that @tenedev/marquee demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.