Chetan Verma

Status Cycle Button

Buttons 17

About

A cycle status button component made with framer motion and tailwind css.

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

Code

How Status Cycle Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import StatusCycleButton from "@/components/ui/status-cycle-button"

const StatusCycleButtonDemo = ()=> {
    return (
          <div className="flex gap-4">
    <StatusCycleButton
      statuses={["Online", "Offline", "Away"]}
      cycleInterval={3000}
      variant="outline"
      size="sm"
    />
    <StatusCycleButton
      statuses={["Hello", "World"]}
      cycleInterval={4000}
      size="sm"
    />
    <StatusCycleButton
      statuses={["Test", "Test 2", "Test 3"]}
      cycleInterval={5000}
      variant="ghost"
      size="sm"
    />
    <StatusCycleButton
      statuses={["Link 1", "Link 2", "Link 3"]}
      cycleInterval={5000}
      variant="link"
      size="sm"
    />
  </div>
    )
}

export { StatusCycleButtonDemo }

Dependencies

More by Chetan Verma

View all
  • Floating Action Menu

    Floating Action Menu

    1.6K
  • Animated Tabs

    Animated Tabs

    1.6K
  • Video Player

    Video Player

    1.4K
  • Stacked Cards Interaction

    Stacked Cards Interaction

    829
  • Dropdowm Menu

    Dropdowm Menu

    601
  • Input With Tags

    Input With Tags

    538
  • Avatar Group

    Avatar Group

    516
  • Audio Player

    Audio Player

    361

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1