-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[component]: Back to top #3699
Comments
Resolution: build back to top button for the moment, other use cases are interesting but need to be requested or discovered in a later step. |
@gfellerph I'd recommend to generate specific tokens for that one as it might look different than a secondary icon button somewhen. We can just connect them semantically to whatever we used for the secondary icon button so it looks the same for now. Further there is atm no such thing as a foundations/elevation. |
@Vandapanda I would strongly recommend to reuse where we have the possibility. Dedicated tokens can be added whenever necessary. |
Since the css scroll animations are not supported at the moment from Firefox and Safari, it was decided that the back to top will be a web component. |
Description
Create a back to top button that appears when scrolling below the fold and disappears again when scrolling back up above the fold. A working example can be found on https://post.ch.
Design
https://www.figma.com/design/JIT5AdGYqv6bDRpfBPV8XR/Foundations-%26-Components-Next-Level?node-id=18-11
Tokens
Token proposal
Size is determined by kind of button used (icon-button large) and box-shadows is determined by foundations/elevation.
Requirements
Tasks
💻 Tasks
The text was updated successfully, but these errors were encountered: