Back to Top Button Component
A responsive back to top button designed with microinteractions and vibrant colors, suitable for a dashboard interface with dark mode support.
HTML Code
<div class="fixed bottom-4 right-4">
<button class="bg-gradient-to-r from-purple-600 to-pink-600 text-white rounded-full p-3 shadow-lg hover:scale-110 transition-transform duration-300 dark:from-purple-800 dark:to-pink-800">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m0 0l-4-4m4 4l4-4" />
</svg>
</button>
</div>
Related Components
Glassmorphism Rainbow Back to Top Button for Agriculture
A complex, responsive 'Back to Top' button component with a glassmorphism design and a rainbow gradient, tailored for agriculture/farming websites. Features blur effects and dark mode support.
Brutalist Back to Top
A brutalist Back to Top button component using grayscale colors and Tailwind CSS. It is responsive and supports dark mode.
Back to Top Button Component
A responsive 'Back to Top' button with Material Design aesthetics, monochromatic color scheme, and dark mode support. It appears as a floating action button (FAB) in the bottom-right corner.