Pixel Labs

HomeAboutComponentsHow to useLicense
Pixel Labs

Expand on hover


Buttons

Expand on hoverGradientShrink on clickMulti color beamBorder shineIcon Reveal

Form

Simple dataMulti stepForm with file upload

Dropdown

Single selectMulti selectExtended with info

Drawer

Expand from middleBottom slideTop slide

Cards

Horizontal ExpandVertical ExpandHover InfoPricing InfoHover Name Reveal

Accordian

Single OpenMulti OpenList with Icons

Expand On Hover

Hover on the button to see a subtle scale effect with transition, made with react and tailwind classes.

DemoCode

Hover me

Usage

import <ExpandOnHover/> from '@/components/ExpandOnHover.tsx'

Props

Steps

1. Create a NextJs project by

npx create-next-app@latest

2. or a ReactJs project using

npm create vite@latest

3. Install and setup tailwindCSS