This component no longer exists. It was in atlas-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-13 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
Magnetic Hover
atlas-ui/magnetic-hover-html-demoRemovedExample
Example of Magnetic Hover component, built with HTML, CSS, JavaScript and Motion.
Install it
npx shadcn@latest add https://atlasui.dev/r/magnetic-hover-html-demo.jsonSource
1<!doctype html>2<html lang="en">3 <head>4 <meta charset="UTF-8" />5 <meta name="viewport" content="width=device-width, initial-scale=1.0" />6 <title>Magnetic Hover Html Demo - Atlas UI</title>7 <link rel="stylesheet" href="style.css" />8 </head>9 <body>10 <button class="magnetic-hover">Hover me</button>1112 <div class="link-wrapper">13 <span>The cursor has</span>1415 <a href="#" class="magnetic-hover" data-strength="0.5">16 magnetic powers17 </a>1819 <span>now.</span>20 </div>21 </body>22 <script type="module" src="script.js"></script>23</html>
What it pulls in
npm packages
