Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Attention shifted between two side-by-side cards v1.0.0

Use this resource to direct the eye from one card to the other without moving them

New

  • 522 downloads
  • 159 likes
  • 199 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install side-by-side-focus-swap

First time: connect the CLI with

npx --yes palatekit@latest login

The agent adds to your HyperFrames composition two side-by-side cards that swap focus in one movement. You set the final focus, the blur level and the opacity of the receding card. You get a clean attention guide.

Mostly picked by

Updated November 2, 2026

Details

Generates with
HyperFrames
Uses
  • HyperFrames (npx hyperframes)
  • Node.js
Licence
Apache-2.0

Similar resources

View all

What you get

  • README.md: usage guide
  • demo.html: the author's original file
  • focus-swap.html: the author's original file
  • registry-item.json: the author's original file

Good fit for

  • Switch from one option to the other in a demo
  • Emphasize the result after a comparison
  • Guide the eye in a two-column interface

Not for

  • A classic video edit without HyperFrames or Node.js
  • An animation that must run as is on a web page

Tags

  • focus
  • blur
  • attention
  • cards
  • interface

About

You say

"Move attention from the left card to the right card, with a blur of 6."

Two cards side by side, one smaller, blurred and dimmed, the other fully sharp.

Composition published by HeyGen (HyperFrames) under the Apache-2.0 license, resource page and guide written by PalateKit.

Show more

Prerequisites

You bring
Your texts and colors and A HyperFrames project (or the agent creates one)
Dependencies
HyperFrames (npx hyperframes) and Node.js

How to use it

  1. Install it in your HyperFrames project with npx hyperframes add focus-swap, or copy the provided files.
  2. Ask the agent to change the texts, colors and duration in the HTML file.
  3. Run the HyperFrames preview, then the render, to get the video.

Content preview

Files

  • demo.html2.6 KB
  • focus-swap.html10.5 KB
  • LICENSE10.5 KB
  • NOTICE-PALATEKIT.md0.4 KB
  • README.md0.8 KB
  • registry-item.json1.8 KB

Origin and licence

Modified by PalateKit

Author
HeyGen (HyperFrames)
Source
github.com/heygen-com/hyperframes/tree/2c3d1e07fe63d4a2d67d63a3e29d4ad73e291d8e/registry/components/focus-swap
Licence
Apache-2.0

Notice

Version modifiée de « Focus Swap » (HeyGen (HyperFrames), Apache-2.0) : traduction française et fiche par PalateKit.

User reviews

–

No ratings yet

Loading reviews…

Delete your review?

Your rating and comment will be removed from the page.

Frequently asked questions

Do I need HyperFrames?

Yes: the composition renders to video with HyperFrames (Node.js). The agent can install it and run the render.

Can I change the texts and colors?

Yes, they live in the HTML file. Give the agent your texts and palette.