Skip to content

Hovers

Explore our catalog of elegant hover effects that will give your website a unique touch. They are divided into two categories: Simple and Special. In each section, you’ll find clear instructions on how to integrate them into your site. Enjoy!

Yeah it's not going to work here, take your computer


The components in this section take advantage of Astro props, allowing them to be reused multiple times on the same page. You can customize them by adding the desired text and a link (if needed — otherwise, just leave it empty). Simply import the component and tailor it to your needs.

src/pages/index.astro
---
// Import
import HoverButton from "../components/HoverButton.astro";
---
(...)
<HoverButton text="Type your text here" href="Type your link here" />
<HoverButton text="Type another text here" href="Type another link here" />
(...)










The special hovers are built with JavaScript so you can reuse them anywhere by simply adding the corresponding class, while the script automatically applies the effect.

You can integrate them as we designed (directly inside an Astro component) or copy the script into your scripts folder and import it later as a module. Feel free to choose the option that works best for you — we’ve implemented it within an Astro component to keep consistency with the way we structured the other components.

src/pages/index.astro
---
// Import
import SpecialHover from "../components/SpecialHover.astro";
---
(...)
<!-- You can add it anywhere you like. -->
<SpecialHover/>
<!-- Add this classin the elements you want to apply the effect. -->
<button class="decode-link">Example</button>
<a class="decode-link font-mono" href="#">Example</a>
<p class="decode-link font-mono" >Example</p>
(...)

For this element, you need to add the “decode-link” class to your elements.


For this element, you need to add the typewriter class. It’s also important to add the “inline-block” class to the element you’re applying the class to, so it works correctly.