[Feature Request] Anchor component should have a prop to toggle underline
See original GitHub issueAnchor
component has variants link
and text
but sometimes you don’t want the default text-decoration: underline
when you are using link
. Or vice versa, you are using text
and may want to have it.
As of now, you need to manually override the styling with !important
, which is an anti-pattern.
An ad hoc prop could be useful for that.
Usage example, including component/hook API
No response
Possible implementation – describe how the feature can be implemented
No response
Do you want to contribute this feature and create a pull request
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Can't style anchor link when used in shadow false, but scoped ...
Configure it to shadow:false scoped:true and use a styleUrl OR styleUrls . Use the <stencil-route-link> component as is, url, and other props ......
Read more >How to get rid of underline for Link component of React Router?
you need to pass the route path in the 'to' prop of the "MenuItem" (which will be passed down to the Link component)....
Read more >How to handle navigation in your app with React Router Link
First, we need to adjust the campaign page. We'll use the useLocation hook to match the URL to the query. We'll define a...
Read more >text-decoration - CSS: Cascading Style Sheets - MDN Web Docs
The style rule em { text-decoration: none; } would not cause any change; the entire paragraph would still be underlined.
Read more >Breaking changes in v5, part two: core components - Material UI
The color prop has no longer any effect in dark mode. The app bar uses the ... You can find out more details...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve accidentally merged this into dev, so I guess it will be released only in about a month
Yep, it should be in Text