PHPackages                             visuellverstehen/statamic-anchor-navigation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. visuellverstehen/statamic-anchor-navigation

ActiveStatamic-addon

visuellverstehen/statamic-anchor-navigation
===========================================

A Statamic tag for creating an anchor nav for all headings generated by the bard editor.

v1.0.0(1y ago)59.7k↓32.1%4[4 issues](https://github.com/visuellverstehen/statamic-anchor-navigation/issues)[1 PRs](https://github.com/visuellverstehen/statamic-anchor-navigation/pulls)MITPHP

Since Mar 21Pushed 1y ago5 watchersCompare

[ Source](https://github.com/visuellverstehen/statamic-anchor-navigation)[ Packagist](https://packagist.org/packages/visuellverstehen/statamic-anchor-navigation)[ RSS](/packages/visuellverstehen-statamic-anchor-navigation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (14)Used By (0)

Statamic Anchor Navigation
==========================

[](#statamic-anchor-navigation)

A Statamic addon that provides a custom tag for creating an anchor nav for all headings generated by the bard editor.

Features
--------

[](#features)

- Extends the TipTap heading node and adds a slugified ID to all configured heading levels (defaults to h2).
- The `{{ anchor_navigation }}` tag makes it easy to build an anchor navigation for all headings within your bard content.

How to install
--------------

[](#how-to-install)

Run the following command from your project root:

```
composer require visuellverstehen/statamic-anchor-navigation
```

How to use
----------

[](#how-to-use)

Include the `{{ anchor_navigation }}` tag in your template and supply the field handle of your bard field.

```

    {{ anchor_navigation from="bard" }}

            {{ headline }}

    {{ /anchor_navigation }}

```

You also specify the entry from which you want to render the anchor navigation.

```

    {{ anchor_navigation from="bard" :entry="specific_entry" }}

            {{ headline }}

    {{ /anchor_navigation }}

```

You can get the amount of headings found within the content with the `count` tag:

```
{{ if {anchor_navigation:count from="bard"} > 0 }}
    ...
{{ /if }}

```

Configurations
--------------

[](#configurations)

You can define which heading levels should be included in your anchor navigation. Level 2 headings are set as a default.

```
'heading' => [
    'levels' => [2],
],

```

More about us
-------------

[](#more-about-us)

- [www.visuellverstehen.de](https://visuellverstehen.de)

License
-------

[](#license)

The MIT license (MIT). Please take a look at the [license file](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Recently: every ~80 days

Total

13

Last Release

726d ago

Major Versions

v0.3.6-beta → v1.0.02024-05-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/57dcd9370600b66b5ad7d99dd2b633e36d3a9458e656d650045f5f5eaf540e2d?d=identicon)[visuellverstehen](/maintainers/visuellverstehen)

---

Top Contributors

[![juliawarnke](https://avatars.githubusercontent.com/u/44929138?v=4)](https://github.com/juliawarnke "juliawarnke (18 commits)")[![simonerd](https://avatars.githubusercontent.com/u/7941370?v=4)](https://github.com/simonerd "simonerd (6 commits)")[![doriengr](https://avatars.githubusercontent.com/u/57871803?v=4)](https://github.com/doriengr "doriengr (1 commits)")[![kristiana-s](https://avatars.githubusercontent.com/u/9308935?v=4)](https://github.com/kristiana-s "kristiana-s (1 commits)")

---

Tags

navigationanchoraddonstatamicv4bardv5

### Embed Badge

![Health badge](/badges/visuellverstehen-statamic-anchor-navigation/health.svg)

```
[![Health](https://phpackages.com/badges/visuellverstehen-statamic-anchor-navigation/health.svg)](https://phpackages.com/packages/visuellverstehen-statamic-anchor-navigation)
```

###  Alternatives

[visuellverstehen/statamic-classify

A useful helper to add CSS classes to all HTML tags generated by the bard editor.

20116.8k](/packages/visuellverstehen-statamic-classify)[visuellverstehen/statamic-picturesque

A Statamic tag for building HTML-only responsive images.

1016.9k](/packages/visuellverstehen-statamic-picturesque)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[withcandour/aardvark-seo

Save time and get your Statamic site to rank better with the SEO addon for Statamic.

13128.3k](/packages/withcandour-aardvark-seo)[marcorieser/statamic-live-search

A Statamic Live Search realized with Laravel Livewire.

2210.5k](/packages/marcorieser-statamic-live-search)[justkidding96/aardvark-seo

Save time and get your Statamic site to rank better with the SEO addon for Statamic.

141.6k](/packages/justkidding96-aardvark-seo)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
