HomeDocsComponentsBlocksChartsThemes
Introduction
  • Introduction
  • Installation
  • Themes
  • Artwork
  • llms.txt
Components
  • Accordion
  • Alert
  • Alert Dialog
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar
  • Avatar Upload
  • Badge
  • Banner
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • File Upload
  • Hover Card
  • Icon Tile
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Label
  • Marquee
  • Menubar
  • Meter
  • Multi Select
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Password Strength
  • Phone Input
  • Popover
  • Progress
  • Progress Circle
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sortable
  • Spinner
  • Stat
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
  • Typography
  • Video Player
  • Window Mockup
AI
  • Message Scroller
  • Message
  • Bubble
  • Marker
  • Attachment
  • Questionnaire
  • Composer
  • Reasoning
  • Tool Call
  • Approval Card
  • Citations
Blocks
  • Airtable
  • Airtable Kanban
  • ClickUp List
  • ClickUp Kanban
  • Repeatable Group
  • Command Palette
  • Sign In and Sign Up
  • Availability Scheduler
  • AI Chat
  • Action Bar
  • Notion
  • Banking
  • Lineup Builder
  • Sports Score
  • Strava
  • Sheets
  • Notices
  • Settings
  • Billing
Templates
  • Sign In Page
  • Upload Page
  • Agreement Sign
  • Email
  • Email Composer
  • Share Dialog
  • Integrations
Utilities
  • motion
  • sounds
  • scroll-fade
  • shimmer
Another UI. Built on shadcn/ui with Phosphor icons.

Marquee

PreviousNext

A row or column of items that drifts on a loop, for logo walls and showcases.

Base UIReact AriaRadix UI
LinearNotionGitHubVercel
LinearNotionGitHubVercel
VercelGitHubNotionLinear
VercelGitHubNotionLinear

Installation#

pnpm dlx shadcn@latest add https://anotherui.dev/r/marquee.json

Usage#

import { Marquee } from "@/components/ui/marquee"
<Marquee pauseOnHover>
  {logos.map((logo) => (
    <IconTile key={logo.id}>{logo.mark}</IconTile>
  ))}
</Marquee>

The items are rendered twice and the track slides by one copy, so the loop has no seam. Give it enough items to be wider, or taller, than the space it fills. The copy is hidden from screen readers and cannot be focused.

Vertical#

<Marquee orientation="vertical" reverse duration={50} className="h-96">
  {items}
</Marquee>

Several vertical marquees side by side, at different speeds and in opposite directions, make the logo wall on the Integrations template.

Props#

  • orientation. "horizontal" (default) or "vertical".
  • reverse. Runs left to right, or top to bottom, instead.
  • duration. Seconds for one full loop. Defaults to 40.
  • gap. Pixels between items. Defaults to 16.
  • pauseOnHover. Stops while the pointer is over it.
  • fade. Fades the two ends. On by default.

The motion runs on the Web Animations API, so there is no CSS to add, and it holds still for people who prefer reduced motion.

MarkerMenubar

On This Page

InstallationUsageVerticalProps