Skip to content

Button for downloading a file #848

Answered by richbachman
synnottd asked this question in General
Discussion options

You must be logged in to vote

Hi @synnottd

Thanks for posting this question.

Based off the information provided, the Anchor component would suit your use-case better. Even though it feels like you're performing an action by downloading, you're actually navigating to the file to be dowloaded. Therefore the Anchor component which comes with the download prop is the most appropriate or this scenario.

The question then becomes, does the Anchor component provide enough visual prominence? Do you have any visuals (screenshots or CodeSandbox) so we could help evaluate that further?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by synnottd
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants