Navegação v1.0.0

Voltar ao topo

Um botão flutuante que aparece quando o usuário rola além de um limite configurável, permitindo voltar suavemente ao topo da página. Suporta posição personalizável, limite de rolagem e comportamento de rolagem suave/instantâneo.

Pré-visualização e Código

Opções

Nome Tipo Padrão Descrição
threshold Number 300 Scroll distance in pixels before the button appears
smooth Boolean true Use smooth scrolling animation when returning to top
position Symbol :bottom_right Screen position: :bottom_right, :bottom_left
label String "Back to top" Screen reader accessible label for the button

Changelog v1.0.0

- v1.0.0: Initial release with threshold, smooth scroll, position, and label options

Obter Acesso Completo

Desbloqueie o código-fonte deste componente e de todos os outros. Pagamento único para acesso vitalício.

Obter Acesso Agora