The To-Top component only displays after scrolling down 500+ px. This means you can't see it in Storybook because there is no need to scroll.
Create Storybook-specific styles for this, within the Storybook context (not affecting the component itself or component library), so the component always shows in Storybook.
This is a style related change (not JavaScript).
The change should be made in either the story itself or otherwise within the Storybook context.
The To-Top component only displays after scrolling down 500+ px. This means you can't see it in Storybook because there is no need to scroll.