ai 2

3D Buttons

Buttons

About

A set of five decorative 3D-style button variants (press, tilt, layered, emboss, and lift) with hover/tap depth animations powered by framer-motion.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds 3D Buttons to your project and fits it to your theme.

Code

How 3D Buttons is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import {
  PushButton,
  TiltButton,
  LayeredButton,
  EmbossButton,
  LiftButton,
} from "@/components/ui/buttons-3d";

export default function ButtonsDemo() {
  return (
    <div className="flex w-full flex-wrap items-center justify-center gap-4 p-10">
      <PushButton>Push</PushButton>
      <TiltButton>Tilt</TiltButton>
      <LayeredButton>Layered</LayeredButton>
      <EmbossButton>Emboss</EmbossButton>
      <LiftButton>Lift</LiftButton>
    </div>
  );
}

Dependencies

More by ai 2

View all
  • Ripple Buttons

    Ripple Buttons

    31
  • Styled Toggle Switches

    Styled Toggle Switches

    14
  • Styled Progress Bars

    Styled Progress Bars

    14
  • Styled Badges

    Styled Badges

    10
  • OTP Pin Input

    OTP Pin Input

    8
  • Particle Toggles

    Particle Toggles

    7
  • Input Group Glass

    Input Group Glass

    6
  • File Input

    File Input

    6

More in Buttons

View all
  • Button Save

    Button Save

    46
  • Button

    Button

    20
  • Eclipse Button

    Eclipse Button

    5
  • Button

    Button

    6
  • Button

    Button

    14
  • Button Group

    Button Group

    37
  • Button

    Button

    32
  • Split Button

    Split Button

    32