n-marquee

Creates smooth, auto-scrolling horizontal content with CSS animations and adjustable speed for Naive UI apps.

8|3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/jiaiyan/naive-ui-skills --skill n-marquee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n-marquee
Source: https://github.com/jiaiyan/naive-ui-skills/tree/main/components/n-marquee
Command: npx skills add https://github.com/jiaiyan/naive-ui-skills --skill n-marquee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Marquee enables smooth, auto-scrolling horizontal content in UI with minimal setup.

Core Features & Use Cases

  • Smooth Animation: CSS-based smooth scrolling animation for consistent motion.
  • Auto-fill: Repeats content to fill the container, preventing gaps.
  • Speed Control: Adjustable scrolling speed in pixels per second.
  • Flexible Content: Supports text, images, or embedded components within the scroll area.

Quick Start

Use the n-marquee component to display a scrolling row of content across the screen.

Frequently Asked Questions about n-marquee

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a smooth horizontal scrolling marquee in Vue3?

Create a smooth horizontal scrolling marquee in Vue3 by using a CSS-based animation component that handles consistent motion automatically. It supports auto-fill to repeat content and prevent visual gaps across the container.

Can I use images and components inside a Naive UI scrolling ticker?

You can use images, text, and embedded components inside a Naive UI scrolling ticker. The marquee container accepts flexible content types within the scroll area without restricting you to simple text strings.

How do I control the scrolling speed of a horizontal banner animation?

Control the scrolling speed of a horizontal banner animation by adjusting the speed prop, which accepts values measured in pixels per second to determine how fast your content moves across the screen.

Does the n-marquee component require any external dependencies?

The n-marquee component requires no external dependencies to function. It relies entirely on CSS-based animation for its smooth scrolling effect, making it lightweight and easy to integrate into existing Vue3 projects.

How does auto-fill work for horizontal scrolling content?

Auto-fill works for horizontal scrolling content by automatically repeating the provided items to fill the container width. This prevents empty gaps from appearing when the content volume is insufficient to span the area.

What is the best way to display a scrolling text ticker in a Vue3 application?

The best way to display a scrolling text ticker in a Vue3 application is using a CSS-based animation component that provides smooth motion and auto-fill capabilities with minimal setup required for immediate rendering.