aws-amplify / aws-amplify/amplify-studio

Add possibility to wrap components in Links in Amplify Studio

Open
#1,114 0 comments 0 reactions 0 assignees View on GitHub
feature-request studio-ui
Dominant language
No language data
Stars
135
Forks
32
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature you'd like to request

I would like to be able to wrap the component in the "a" tag, and to be able to pass the "as" prop for the Text component to make it as an anchor.

### Describe your use case and how the feature would improve your experience.

Currently there is no way of creating links in Amplify Studio. I can add onClick event handlers, but not create links. This would allow me to transform text into links and wrap images/icons with links.

### Describe alternatives you've considered

ALternative is to use onClick and to style the text by overrides prop, which I have to do manually for each element that I want to target.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with Amplify Studio's component handling and the Text component behavior described in the issue, then trace how onClick and overrides are currently exposed. Verify the requested behavior for turning text into links and wrapping images or icons, including passing an anchor-like "as" value to Text.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.