Skip to content

[Feature request] Stamp to indicate interactive space #44

Description

@julianmka

Short description of the feature

Trying to solve the problem of visually showing the interactive target area around a visually smaller element

More details about the feature

Problem: My team needs a way to show the interactive space around an element or group of elements. Existing stamp components don't cleanly convey to "add some padding so that there's a 24x24 interactive target" and writing it out isn't always sufficient to get the idea across to dev teams.

Proposed solution: A new component that can be freely sized to indicate a precise or approximate interactive space visually. The stamp has a label and low opacity that can be overlaid on a design.

Screenshot showing a bank account listing; there is a light blue overlay that encompasses the account name, number, and available balance, indicating that the entire area should be clickable/tappable, even though only the account name is linked.

Alt text

  • My images use descriptive alt text.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    feature request
    on Jul 8, 2026
  2. added
    planned
    on Jul 10, 2026
  3. janmaarten-a11y commented on Nov 17, 2026

    @janmaarten-a11y
    Collaborator

    @julianmka Finally started working up something for this. Has an outline, translucent background, icon, and optional label in case it's needed. Open to thoughts, including on color, border styling, etc. It uses colors that are used by other User Interaction components, which might be fine and easy enough for other consumers to change if they want something more fitting for their orgs.

    I'm also wondering if we would want any ability to tie it to a Details annotation (number, note icon) or attach a longer post-it note like some of the Flow Lines. 🤔

    Figma canvas showing an ​​Interaction Target Area component that looks like a small dashed outline around a focus-center octicon from GitHub Figma canvas showing the same thing but with a visible label on the component which says: Target area
  4. added
    set:utilities
    and removed
    planned
    on Nov 17, 2026
  5. janmaarten-a11y commented on Nov 19, 2026

    @janmaarten-a11y
    Collaborator

    @julianmka Experimented further with a different style of double-border so that it isn't easily confused with the dashed borders of a lasso stamp.

    Another iteration of the target area component in purple with a double border style

    Also added a label that floats on the side rather than inside the resizable target area, since that seems to mess up the dimensions when certain properties are swapped. It's visible here but hidden by default.

    The target area component overlaying a GitHub blog post card's thumbnail image, heading, and description. The label says: 380x276 target area

    Sort of makes me wonder if it's worth a separate text property for labels and sizes. Or if that's even worthwhile?

  6. julianmka commented on Nov 19, 2026

    @julianmka
    Author

    I really like these! The external label makes a lot of sense.

    Yes to linking to a notes item.

    In my context, I'm not sure how often we'd need to specify dimensions since we don't do pixel-perfect layouts at all breakpoints. However, quick presets with 24x24, 44x44, and 48x48 could be useful shortcuts for platform-based minimums.

  7. janmaarten-a11y commented on Nov 23, 2026

    @janmaarten-a11y
    Collaborator

    @julianmka Latest iteration:

    • Attached a proper note stamp label to it, though it only has options to attach to the right side. I didn't want to over-complicate it with more options/variants unless it's a screaming need
    • This gives the option to change the label if needed, but defaults to a Note Details pairing
    • Added preset sizes with variable collections, providing Appearance properties for corner style (rounded or square) and size (24px, 44px, 48px). Set the default size to 44px. Corner style seemed apt because a mismatch between the annotation and what it overlays will look wonky.
    Same interaction target component with nested Note stamp properties Target size and Target corner options showing in the Appearance panel Target size variable options opened showing 24px, 44px, and 48px options
  8. added
    pending release
    set:user-interactions
    and removed
    set:utilities
    on Nov 24, 2026
  9. janmaarten-a11y commented on Nov 24, 2026

    @janmaarten-a11y
    Collaborator

    PR with documentation updates is drafted here: #52

    Found an alignment issue with the Note stamp label that will probably require it to be placed on the bottom or top, rather than the side.

    Update: After stress testing, I think it best to omit the label. That can be added if there's a need by pairing with numbered UI Stamps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature requestpending releaseset:user-interactions

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions