Can anyone explain how to use the html Tag ancher option in the button utility to link a button to a part of the page?
That property only specifies which HTML tag the button will use, an <a> or <button> tag (last time I checked it was just using a <div> regardless). If you try to use the Link property above you’re only available to link to a URL, a page within your site, or a resource within your site. There’s currently no concept of named (ids) anchors within a page in Elements.
It’s a great feature request as it’s something I often use, especially when I’m sharing something on a page as it allows me to jump users right to it by appending #{anchor-on-page} to the URL.
A little nudge for this feature. I want to link a button in the menu, to an HTML tag further down the page.
Is there a way to do this yet..?
are you just using Elements components or custom components
Yes we fully support anchor tags, and it’s pretty cool
Here’s how to do it…
Awesome @dan , thanks for my personal video reply! ![]()
You’re welcome, glad I could help!