Layered Button

A layered button with a radial expand effect and smooth sliding hover label animation.

Loading...

Installation

npx shadcn@latest add @scrollxui/layered-button 

Usage

import { LayeredButton } from '@/components/ui/layered-button';
<LayeredButton variant='default'>Default</LayeredButton>

Examples


Default

Loading...

Outline

Loading...

Icon

Loading...

Size

Loading...

Custom

Loading...

API Reference

Layered Button

A layered button with a radial expand effect and smooth sliding hover label animation.

Props

PropertyTypeDefaultDescription
variantstringdefault
Button style.
sizestringdefault
Button size.
borderWidthnumber3
Inner border width.
asChildboolean
Use Radix Slot.
childrennode
Content inside button.
classNamestring
Custom classes.
...propsbutton props
All native button attributes.

Built withby Ahdeetai.