Descrição
Scroll Indicator adds a focused block for landing pages, hero sections, editorial layouts, and long-form content. It gives visitors a clear visual cue that there is more to explore below the fold.
Choose from multiple icon styles, adjust the size, use native WordPress text color controls, add optional helper text, and let visitors click or keyboard-activate the indicator to move smoothly down the page.
The block is intentionally lightweight. Animations are handled with CSS, respect reduced-motion preferences, and the front-end script is limited to click-to-scroll and automatic hide-on-scroll behavior.
Key Features
- Five icon styles: mouse, arrow, chevron, dots, and hand.
- Preset sizes plus a custom CSS size value.
- Native block editor controls for text color, spacing, typography, and alignment.
- Fixed screen positioning and draggable absolute positioning for hero-style sections.
- CSS-only animation that respects the visitor’s reduced-motion preference.
- Optional text label beneath the icon.
- Automatic hide-on-scroll behavior.
- Keyboard-accessible click-to-scroll interaction.
- No animation libraries or heavy runtime dependencies.
Development
The human-readable source for the compiled JavaScript and CSS is included in this plugin package under src/.
The generated files in compiled/ are built from src/index.js, src/view.js, and the SCSS files in src/ using @wordpress/scripts. To rebuild them, run:
npm installnpm run build
The public source repository is maintained at https://github.com/dhanson-wp/scroll-indicator.
Good For
- Landing page hero sections.
- Editorial introductions.
- Long-form stories and portfolios.
- Product pages where visitors should continue below the fold.
- Any layout that needs a subtle, branded scroll cue.
Capturas de tela








Blocos
Este plugin disponibiliza 1 bloco.
- Scroll Indicator An animated scroll indicator with multiple icon styles that encourages users to scroll down the page.
Instalação
- Upload the
scroll-indicatorfolder to the/wp-content/plugins/directory, or install it through the WordPress Plugins screen. - Activate the plugin through the Plugins screen in WordPress.
- Open the block editor and add the Scroll Indicator block.
- Choose an icon style, size, color, and optional label.
Perguntas frequentes
-
Does this plugin require a JavaScript animation library?
-
No. Animations are handled with CSS. The front-end script only powers click-to-scroll and automatic hide-on-scroll behavior.
-
Can I change the icon color?
-
Yes. The block uses WordPress core text color support, so colors can be managed through the block editor.
-
Does it support reduced motion preferences?
-
Yes. The animated effects only run when the visitor has not requested reduced motion.
-
Is the indicator keyboard accessible?
-
Yes. The front-end indicator is saved as a keyboard-focusable button-like control with an accessible label.
-
Will the block work without JavaScript?
-
The icon and optional text still render without JavaScript. JavaScript is only needed for click-to-scroll and automatic hide-on-scroll behavior.
Avaliações
Não há avaliações para este plugin.
Colaboradores e desenvolvedores
“Scroll Indicator” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.
ColaboradoresTraduzir o “Scroll Indicator” para seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.
Registro de alterações
1.0.2
- Register the five icons with the WordPress 7.1 Icons API so they can be reused in the core Icon block.
- Add screenshots and a WordPress Playground blueprint with a demo page for the plugin directory’s live preview.
1.0.1
- Add the WordPress.org owner username to the contributors list.
- Include and document the human-readable source for compiled JavaScript and CSS.
- Prepare the plugin for WordPress.org submission with packaged compiled assets, cleaner repository hygiene, and improved editor positioning controls.
- Improve accessibility with a real button element, reduced-motion-aware scrolling, and automatic hide-on-scroll behavior.
- Add WordPress 7.0 testing metadata.
1.0.0
- Initial release.
