Local JavaScript
A small local script is often better than importing a framework.
Performance starts with the shape of the site. Local CSS, local JavaScript and static HTML are easier to reason about than a chain of external dependencies.
Visual richness does not require a heavy application stack. CSS can handle many atmospheric effects by itself.
A good performance budget leaves space for content while keeping the public surface portable.