First you would need this CSS, which will hide the button until the show class is added:
.sticky-button {
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease-in;
}
.sticky-button.show {
opacity: 1;
pointer-events: initial;
}
Then you will need this Javascript, which needs to be hooked in after the Button. You can include it below your buttons HTML:
<script>
setTimeout(() => document.querySelector('.sticky-button').classList.add('show'), 5000);
</script>
After 5000ms ( 5 seconds ) the show class gets added to the element.