Skip to content

Anchors as Buttons #520

Answered by TheSisb
GiantRobots asked this question in General
Jun 22, 2020 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hello @GiantRobots,

We have some notes about recommended use-cases for Anchors and Buttons in our docs:

We reasoned that Anchors should just do one thing well. Any additional appearance or functionality is already covered by Button and we didn't want to duplicate the behavior, i.e.:

<Button as="a" href="https://google.com" variant="primary">View Logs</Button>

You might want to bring this to our Design Systems Crit meeting so we can work through the problem together.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@GiantRobots
Comment options

@GiantRobots
Comment options

Answer selected by GiantRobots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants