chrisvasey/simple-statamic-toolbar

A lightweight floating toolbar for Statamic that gives logged-in users quick access to the CP and entry editor

Installs: 31

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/chrisvasey/simple-statamic-toolbar

v1.1.0 2026-02-11 08:26 UTC

This package is auto-updated.

Last update: 2026-02-11 08:28:22 UTC


README

A lightweight Statamic addon that adds a floating toolbar to the frontend for logged-in users. Gives editors quick access to edit the current entry or jump to the Control Panel without leaving the page.

Features

  • Zero config — install and it works immediately
  • Edit button — opens the current entry in the CP editor (shown when an edit_url is available)
  • Control Panel button — links to the CP dashboard
  • Collapsible — toggle open/closed with smooth animation
  • Logged-in users only — hidden from public visitors
  • No frontend dependencies — uses inline styles (no Tailwind required) and Alpine's built-in transitions (no plugins required)

Requirements

  • Statamic 6+
  • Alpine.js 3.x (included with Statamic by default)

Installation

composer require chrisvasey/simple-statamic-toolbar

That's it. The toolbar will automatically appear for logged-in users on the frontend.

Customisation

Publish the views to override the toolbar template:

php artisan vendor:publish --tag=simple-statamic-toolbar-views

This copies the view to resources/views/vendor/simple-statamic-toolbar/ where you can modify it freely.

Testing

composer test

License

MIT. See LICENSE for details.