mittwald / flow

A collection of packages related to Flow – the mittwald design system.
https://mittwald.github.io/flow/
MIT License
6 stars 1 forks source link

Add Anchor Link Button to Headings #794

Open Nickzlos opened 1 month ago

Nickzlos commented 1 month ago

Description

In https://github.com/mittwald/flow/issues/320 we are currently working on to enable anchor links. Once this functionality is implemented, we would like to add a feature that simplifies sharing specific information within the style guide.

Feature Request

While hovering over a section with the mouse cursor, an icon button should appear next to the heading. This button will allow users to generate an anchor link directly to the specific section. Important note: The icon button should always be visible when the user hovers over the section with the cursor. However, the anchor link should only be generated when the icon button is explicitly clicked. The goal is to enable users to share information directly from the style guide, targeting a specific section instead of the entire page.

Expected Outcome

Simplified sharing of targeted information within the style guide through easily accessible anchor links. Enhanced user experience by allowing direct navigation to specific points within the content. Improved collaboration and communication by making it easier to reference exact sections when discussing or sharing content.

image