DNNCommunity / DNNCommunity/dnn-elements
Enhancement Request: Ability for dnn-button to Generate a Link Instead
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
There are usability situations where a button should look like a button but actually be a link (HTML A tag).
I was thinking that it could be a simple switch, IF there is an href attribute, then emit an instead of .
Example
```
Go to the Accordion page
```
Would result in:
```
Go to the Accordion page
```
But the important thing is that the result look identical to the similarly crafted button:
```
Options
```
Here is an example where the Link is outline and the Button is not and otherwise they follow the same style and can be used together in a UI.

Contributor guide
Assessment
This issue has not been assessed yet.