Magnetic Logo ClusterAn interactive swarm of your logo.

BackgroundsStartup landing pageProduct launch pageConference website

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/magnetic-logo-cluster

Free account required. Signed out, this installs a placeholder file instead of the component.

2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for one inside Claude Code, Codex, or Cursor and it installs the component you pick. Works with any AI Canvas account, free or premium.

Props

Every prop this component accepts. Any other prop is forwarded to the underlying element.

PropTypeDefaultDescription
iconsReact.ReactNode[]-Your logos or icons, cycled across the pack. Each one is rendered inside a square slot and scaled to fit, so inline SVG, an `<img>` or a whole component all work. Omit it to get the built-in placeholder mark.
tintsstring[][]Colours applied as CSS `color` to each slot, picked per icon. Monochrome marks drawn with `currentColor` pick this up; leave it empty to keep your artwork's own colours. Ignored by the built-in mark, which carries its own palette ladder.
countnumber150How many icons make up the pack.
seednumber1Reshuffles the layout, sizes, entry bearings and drift. Same seed renders the same pack on server and client.
layout'diamond' | 'rect''diamond'Pack silhouette. `diamond` is the rotated square with corners up/down/left/right; `rect` fills the container edge to edge.
spreadXnumber0.47Half-width of the pack, as a fraction of the container. Raise it to stretch the shape horizontally.
spreadYnumber0.47Half-height of the pack, as a fraction of the container.
minIconSizenumber0.024Smallest icon, as a fraction of the container width.
maxIconSizenumber0.072Largest icon, as a fraction of the container width.
magnetRadiusnumber0.42How far the cursor's pull reaches, as a fraction of the container.
magnetStrengthnumber0.18Peak displacement for an icon directly under the cursor, as a fraction of the container.
curlnumber0.3Mixes in a push perpendicular to the pull, giving the field a swirl instead of a straight-line tug. 0 is a pure radial magnet.
driftnumber1Multiplier on the idle floating motion. 0 holds the pack perfectly still once it lands.
entryStaggernumber0.012Seconds between each icon launching, so the pack converges in a wave rather than all at once.
autoDemobooleantrueRuns one scripted cursor sweep across the pack after the entry settles, so a visitor who never moves their mouse still sees the magnetic interaction. Cancels the moment they move it themselves.
ariaLabelstring'A drifting cluster of logo marks'Label for the cluster, which is exposed as a single decorative image to assistive tech.
classNamestring-Extra classes merged onto the outermost root element.

About Magnetic Logo Cluster

Magnetic Logo Cluster fills the screen with about 150 copies of your own logo, flying in from every direction before settling into an overlapping diamond pack. Once at rest the pack drifts forever on a GPU-driven CSS loop, and the cursor pulls nearby marks toward it with a soft magnetic tug plus a tangential swirl, so the whole field bends and trails as you move. Any artwork works as the icon: inline SVG, an image, or a component, and tints recolor monochrome marks. It suits a startup landing page, a product launch page, or a conference website built entirely around one brand mark.

Built with

MotionTailwind CSS

Frequently asked questions

Is Magnetic Logo Cluster free to use?
Yes. Magnetic Logo Cluster is part of the free AI Canvas library and is open source under the MIT license, so you can use it in personal and commercial projects.
How do I install Magnetic Logo Cluster?
One command: npx shadcn@latest add https://aicanvas.me/r/magnetic-logo-cluster.json, free with a free AI Canvas account. Or connect the AI Canvas MCP server and ask your AI editor to install Magnetic Logo Cluster for you. You can also copy the source straight from the Code tab, no account needed. It works in any React project with Tailwind CSS.
What is Magnetic Logo Cluster built with?
Magnetic Logo Cluster is built with React and TypeScript, using Motion and Tailwind CSS. It ships with both light and dark styling.
Where would I use Magnetic Logo Cluster?
Common uses include Startup landing page, Product launch page, and Conference website. Like every AI Canvas component, it is self-contained and drops into any React project.
Can I remix Magnetic Logo Cluster with AI?
Yes. Magnetic Logo Cluster ships with one comprehensive AI prompt written against the real source code. Open "Remix with AI" on this page to read and copy it into Claude, Cursor, ChatGPT, or any AI tool. Prompts are for remixing your own variation; for the exact component, install it with the one-command CLI.

Featured in collections

More like this