ButtonsProNew

Isometric Button

A slab button in isometric view. On hover five layers fan out like a stack of cards, and pressing squeezes the stack.

Customize

color
textColor
hoverColor
hoverTextColor

Based on big-ape-36 by adamgiebl (MIT license) ยท Terms of use

Props

9 properties
PropertyTypeDefaultDescription
childrenReactNode"Button"Button label.
widthnumber120Slab width in pixels.
heightnumber38Slab height in pixels.
fontSizenumber20Label size in pixels.
colorstring"#2a2a2a"Color of the slab and its sides.
textColorstring"#ffffff"Label color at rest.
hoverColorstring"#fafafa"Color of the layers that lift off on hover.
hoverTextColorstring"#0a0a0a"Label color on hover.
classNamestringโ€”Classes for the wrapper.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all