Skeuomorphic Button

A premium, production-ready skeuomorphic button with realistic depth, tactile interactions, and modern aesthetics. Features multi-layered shadows, highlights, and physical press animations.

uiNew Releaseclass-variance-authorityframer-motionlucide-react

Installation

$npx futureuikit add skeuomorphic-button

Import

import { SkeuomorphicButton } from "@/components/ui/SkeuomorphicButton"
Layout Variant
Color Theme
Shape
Size
Spacing

Named Keys & Props

Pass these exact named keys as props on <SkeuomorphicButton />. Click any color pill to copy the prop.

colorDefault is "default"(Black & White)
variantVisual style
"solid""outline""ghost""link""glass""elevated""soft"
shapeCorner shape
"default""square""rounded""sharp"
spacingInner spacing
"default""2x""4x""6x""8x"
sizeComponent size
"default""sm""md""lg""xl"

Usage Example

A basic implementation example to get you started.

Example Implementation
import { SkeuomorphicButton } from "@/components/ui/SkeuomorphicButton";
import { Play } from "lucide-react";

export default function Example() {
 return (
 <SkeuomorphicButton 
 variant="solid" 
 color="blue" 
 size="lg" 
 icon={<Play className="w-4 h-4" />}
 >
 Launch Experience
 </SkeuomorphicButton>
 );
}

Features

Key capabilities and highlights.

Key Capabilities
  • ◆Realistic 3D depth with multi-layered shadows.
  • ◆Tactile interaction: physically sinks when pressed.
  • ◆Multiple variants: Primary, Glass, Gradient, Elevated, etc.
  • ◆Built-in color presets with automatic state generation.
  • ◆Premium Framer Motion animations (spring-based).
  • ◆Full accessibility and keyboard support.

Notes

Important implementation details to consider.

Implementation Details
  • ◆Install: Run 'npx futureuikit add skeuomorphic-button'.
  • ◆Import: 'import { SkeuomorphicButton } from "@/components/ui/SkeuomorphicButton";'
  • ◆Props: Supports variant, color, size, shape, loading, icon, elevation, glow, and pressedEffect.
  • ◆Interaction: Full motion support via Framer Motion for tactile feedback.