Skip to content

Button style anchor? #1759

Answered by richbachman
jweintraub asked this question in Q&A
Aug 10, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @jweintraub

We have the as="a" prop for Button that renders the button as an anchor, so you get all the button styles. Here's an example: https://paste.twilio.design/patterns/button-vs-anchor#buttons-with-link-functionality

Is that what you're looking for?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jweintraub
Comment options

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