Show HN: We built swup+fragment-plugin to visually enhance classic websites

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • fragment-plugin

    A swup plugin for dynamically replacing containers based on rules 🧩

  • Great to hear that you like it! Regarding the "script kiddies": We all started out like that and made our mistakes along the way, didn't we? For now it's enough for me if people with appreciation for web standards and accessibility find this and start using it in real-world projects. That will make the tool more robust and future-proof. And who knows, maybe it holds out long enough in it's little niche until the kids are grown?!

    I'd be happy if anyone who likes it gives it a star on GitHub. That's how things get traction nowadays, I heard ;)

    https://github.com/swup/fragment-plugin

  • swup

    Versatile and extensible page transition library for server-rendered websites 🎉

  • 2. The newly released fragment-plugin [3] that provides a declarative API for dynamically replacing containers based on rules

    I can now finally build websites that tick all three boxes:

    1. Visually impressive, fun, and snappy by using swup's first-class support for animations[4], cache[5], and preload capacities[6], enhanced with fragment visits as seen on the demo site.

    2. Accessible by being able to serve server-rendered semantic markup that will fully work even with JavaScript disabled (try it out on the demo site!). On top of that, swup's a11y plugin[7] will automatically announce page visits to assistive technologies and will focus the new `

    ` element after each visit.

    3. Because now all I need for my fancy frontend is a bit of progressive JavaScript, I can choose whatever tool I like on the server, keeping complexity low and maintainability high. I can use SSGs like eleventy or Astro (the demo site is built using Astro!), I can use any CMS like WordPress or ProcessWire, or a framework like Laravel. And I don't have to maintain an additional node server for SSG!

    And all it took was 20 years! ;)

    [0] https://github.com/swup/swup

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • parallel-plugin

    A swup plugin for animating the previous and next page in parallel  🎏

  • Swup maintainer here. There is official support for parallel animations in swup v4: https://github.com/swup/parallel-plugin — we've been holding off on this for a while because of accessibility issues and some technical complexity around animating those. But we're very happy to have a first-party solution for this now: some UI interactions just make much more sense when still having the previous content around.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts