Moey Icons
No results. Try “dialog”, “dark” or “grid”.
Components

Scrollspy

Highlights the link of the section you're reading — for "on this page" navs, long settings pages and product pages. One attribute on any nav.

See the thin bar under the header? That's the reading progress of this page (.scroll-progress).

How we ship

Not right? Send it back within 30 days for a full refund — return labels are free for customers in the EU and the UK.

Moey Supply ships to 40 countries from a small warehouse in Lisbon. Every order is packed by hand and leaves within one business day.

Rates

Rates depend on weight and destination. Orders over $60 ship free within Europe; everywhere else a flat rate applies at checkout.

Tracking arrives by email the moment a parcel leaves. Most orders land in 2–5 days in Europe and 5–10 days elsewhere.

Europe

Rates depend on weight and destination. Orders over $60 ship free within Europe; everywhere else a flat rate applies at checkout.

Rest of the world

Tracking arrives by email the moment a parcel leaves. Most orders land in 2–5 days in Europe and 5–10 days elsewhere.

Tracking

Moey Supply ships to 40 countries from a small warehouse in Lisbon. Every order is packed by hand and leaves within one business day.

Rates depend on weight and destination. Orders over $60 ship free within Europe; everywhere else a flat rate applies at checkout.

Returns

Not right? Send it back within 30 days for a full refund — return labels are free for customers in the EU and the UK.

<!-- The page scrolls: -->
<nav class="nav nav-vertical spy-sticky" data-moey-spy>
  <a href="#how-we-ship">How we ship</a>
  <a href="#rates">Rates</a>
  …
</nav>

<!-- A box scrolls: point at it -->
<div class="h-80 overflow-y-auto" id="help">…sections with ids…</div>
<nav class="nav nav-vertical" data-moey-spy="#help">…</nav>
  • The link of the section being read gets aria-current="location" (and .active) — navs, list groups, trees and tabs show it in their own style.
  • Nested lists work: give the links class="nav-link" (nav styles reach links at any depth), and the parent of the active one gets .is-active-parent.
  • Clicking a link scrolls smoothly to the section, lands just below any sticky header, and updates the address — the Back button returns. Keyboard focus moves to the section.
  • Sticky and fixed headers are measured automatically; data-moey-offset="80" sets the offset yourself.
  • At the very end of the page, the last section counts even if it's short. A long nav keeps the active link in view.

Section tabs

Pills or tabs at the top of a long page — a classic for product and settings pages.

Overview

Moey Supply ships to 40 countries from a small warehouse in Lisbon. Every order is packed by hand and leaves within one business day.

Rates depend on weight and destination. Orders over $60 ship free within Europe; everywhere else a flat rate applies at checkout.

Specs

Rates depend on weight and destination. Orders over $60 ship free within Europe; everywhere else a flat rate applies at checkout.

Tracking arrives by email the moment a parcel leaves. Most orders land in 2–5 days in Europe and 5–10 days elsewhere.

Reviews

Not right? Send it back within 30 days for a full refund — return labels are free for customers in the EU and the UK.

Moey Supply ships to 40 countries from a small warehouse in Lisbon. Every order is packed by hand and leaves within one business day.

Rates depend on weight and destination. Orders over $60 ship free within Europe; everywhere else a flat rate applies at checkout.

FAQ

Not right? Send it back within 30 days for a full refund — return labels are free for customers in the EU and the UK.

Moey Supply ships to 40 countries from a small warehouse in Lisbon. Every order is packed by hand and leaves within one business day.

<div class="overflow-y-auto" id="product">
  <nav class="nav nav-pills theme-purple sticky top-0" data-moey-spy="#product">
    <a href="#overview">Overview</a><a href="#specs">Specs</a>…
  </nav>
  <section id="overview">…</section>
  …
</div>

List groups and trees light up too.

Profile

Moey Supply ships to 40 countries from a small warehouse in Lisbon. Every order is packed by hand and leaves within one business day.

Notifications

Rates depend on weight and destination. Orders over $60 ship free within Europe; everywhere else a flat rate applies at checkout.

Security

Tracking arrives by email the moment a parcel leaves. Most orders land in 2–5 days in Europe and 5–10 days elsewhere.

Billing

Not right? Send it back within 30 days for a full refund — return labels are free for customers in the EU and the UK.

<div class="list-group" data-moey-spy="#settings">
  …
  <a class="list-group-item" href="#billing">…</a>
</div>

Options & events

AttributeWhat it does
data-moey-spy · data-moey-spy="#box"Follow the page · follow a scrolling box
data-moey-offset="80"Space covered by sticky headers (measured automatically if left out)
data-moey-hashKeep the address in step while scrolling (#section)
.spy-sticky · --mo-spy-topA side nav that stays in view while the page scrolls
.scroll-progress + data-moey-scroll-progress (="#box") · .scroll-progress-fixedA reading progress bar · pinned to the top of the window
nav.addEventListener('moey:spy', (e) => e.detail.link);   // and e.detail.target — the section
Moey.spy(nav);                                            // after adding sections or links