Back to top
Back to top
Component demo
A StackBlitz example of how the back to top component works in the context of other components can be seen in the
Interactive example
<ic-back-to-toptarget="main"></ic-back-to-top>
<IcBackToToptarget="main"/>
Back to top details
Props
All components also accept native properties supported by the DOM, such asclassName
and
style
.
|
|
|
---|---|---|
|
The ID of the element to jump back to when the link is clicked. |
|
|
The variant of the button to render |
|
The ID of the element to jump back to when the link is clicked. |
The variant of the button to render |
CSS Custom Properties
|
|
---|---|
|
|
|