f0rextasy

Swipe Actions

Component

About

A swipeable list row (like a mobile ticket stub) that reveals action buttons such as pin or void when swiped or tapped.

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

Code

How Swipe Actions is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { SwipeActions } from "@/components/ui/swipe-actions";

export default function SwipeActionsDemo() {
  return (
    <div className="flex w-full max-w-sm items-center justify-center bg-background p-8">
      <SwipeActions />
    </div>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    16
  • Board Checklist

    Board Checklist

    15
  • Stamp Seal

    Stamp Seal

    12
  • Network Graph

    Network Graph

    12
  • Navbar

    Navbar

    8
  • Empty State Card

    Empty State Card

    6
  • Running Order Timeline

    Running Order Timeline

    6
  • Payment Methods

    Payment Methods

    6