Plugin screenshot thumbnail 1/3
Plugin screenshot thumbnail 2/3
Plugin screenshot thumbnail 3/3

Sprig is a free plugin that allows you to create reactive components from Twig templates and/​or PHP classes. These components can re-render themselves on user-triggered events (clicks, changes to input fields, form submissions, etc.) using AJAX requests, without requiring you to write a single line of JavaScript.

Sprig enables common use-cases while completely avoiding full page refreshes:

  • Live search
  • Load more elements (with a button interaction or infinite scroll)
  • Paginate, order and filter elements
  • Add products to a cart
  • Submit forms

To see working examples and video tutorials, visit the Learning Resources.

Live search demo

Installation Instructions

To install this plugin, copy the command above to your terminal.

8 Reviews All reviews
5/ 5
Rating: 5 out of 5 stars
Active Installs
11,596
Version
3.5.1
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Tested on Cloud
Last release
October 23, 2024
Activity (30 days)
4
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs