Skip to content

Multiple actions and/or links in a alert banner #2250

Answered by nkrantz
cdpestitschek asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @cdpestitschek - the way you're currently displaying the two links in the Alert with a divider between them works, but if you're worried about the way it looks (not enough visual distinction between the two), you can use a Small Button for the "Refresh" action. Both options are good, and feel free to play around with other ways to display these 2 actions in the Alert. The contents of an Alert are composable, so you can use the components you need.

Just a note - in your first screenshot, it looks like the Alert is covering up the very top part of the UI ("Admin dashboard" is cut off on the top). Remember that Alerts should never cover any elements on the page - see the Alert docs for m…

Replies: 1 comment 2 replies

Comment options

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

@cdpestitschek
Comment options

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