Saurabh

BeUI Action Swap

Buttons 67

About

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

Code

How BeUI Action Swap is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { Check, Copy } from "lucide-react";
import {
  ActionSwapCascadeButton,
  type ActionSwapItem,
} from "@/components/ui/be-ui-action-swap";

const CTA_ITEMS: ActionSwapItem[] = [
  {
    id: "copy",
    label: "Copy link",
    icon: <Copy className="h-4 w-4" />,
    ariaLabel: "Copy link",
  },
  {
    id: "copied",
    label: "Copied!",
    icon: <Check className="h-4 w-4" />,
    ariaLabel: "Copied",
  },
];

export default function ActionSwapCascadePreview() {
  return (
    <div className="flex w-full justify-center">
      <ActionSwapCascadeButton items={CTA_ITEMS} variant="primary" />
    </div>
  );
}

More by Saurabh

View all
  • BeUI Tilt Card

    BeUI Tilt Card

    401
  • BeUI Expandable Tabs

    BeUI Expandable Tabs

    389
  • Animated Sidebar

    Animated Sidebar

    330
  • BeUI File Upload

    BeUI File Upload

    317
  • Loader

    Loader

    229
  • BeUI Bouncy Accordion

    BeUI Bouncy Accordion

    227
  • BeUI Expanable Action Bar

    BeUI Expanable Action Bar

    221
  • BeUI Create Menu

    BeUI Create Menu

    210

More in Buttons

View all
  • Button

    Button

    159
  • Texture Button

    Texture Button

    117
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    19
  • Eclipse Button

    Eclipse Button

    3
  • Native Button

    Native Button

    7
  • Button Group

    Button Group

    67