Skip to content

Experimental features

Notice

While these experimental browser APIs are easy to enable, technical knowledge is required to modify the code.
Please read the linked Resources & Articles for each experiment before asking question in Slack.

Warning

Because of the reliance on experimental browser APIs, the Hyvä implementations may change or be removed entirely in the future without notice.

Speculation Rules

Available since Hyvä 1.3.7

The Speculation Rules API empowers proactive resource loading for anticipated user journeys.

By prefetching or prerendering potential next pages, you can significantly improve perceived load times and enhance the user experience.

How to Enable

Navigate to Hyvä Themes > Experimental > Experimental Features and enable "Enable Preloading Speculation Rules".

Resources & Articles

View Transitions

Available since Hyvä 1.3.10

The View Transitions API v2, lets you implement smooth view transitions for same-origin, cross-document navigations.

This allows the creation of smooth transitions between views on your website to enhance the user experience.

For advanced control and perceived speed improvements with page animations, consider using the Speculation Rules API in conjunction with View Transitions API v2.

How to Enable

Navigate to Hyvä Themes > Experimental > Experimental Features and enable "Enable View Transitions".

Resources & Articles

View Transitions Demo

Demo of Cross Document View Transitions in a Hyva Theme