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.

Sticky element with el-affix v1.0.0

Use this resource to keep an element visible while scrolling with el-affix

New

  • 328 downloads
  • 150 likes
  • 211 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install element-plus-sticky-affix

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent wraps the element in el-affix with the wanted offset, then attaches it to a specific scroll container if needed. It can also track the pinned state to adapt the display.

Mostly picked by

Updated November 2, 2026

Card for the “Sticky element with el-affix” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: basic offset and pinning
  • SKILL.md: target inside a scroll container
  • SKILL.md: pinned state tracking (header example)

Good fit for

  • You want a header that stays at the top while reading
  • A toolbar must stay visible in a long list

Not for

    Tags

    • sticky
    • scrolling
    • header
    • element plus
    • navigation

    About

    You say

    “Pin the action bar of my list 80 px from the top while I scroll.”

    Card for the “Sticky element with el-affix” skill

    Skill published by jiaiyan under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to keep an element visible while scrolling with el-affix
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • SKILL.md2.9 KB

    Origin and licence

    Listed unmodified

    Author
    jiaiyan
    Source
    github.com/jiaiyan/element-plus-skills/tree/1d126b39a80523665cc6290f70ce25aa89d708ae/components/el-affix
    Licence
    MIT

    Notice

    « el-affix » (jiaiyan, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.