ebnsina

Button

Buttons

About

A versatile button (and link-styled anchor) with primary, secondary, ghost, danger and link variants, three sizes, a loading spinner state and a square icon-only mode, ported to React from Sina UI's Svelte Button by ebnsina.

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

Code

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

Usage.tsx

import Button from "@/components/ui/button";

export default function ButtonDemo() {
  return (
    <div className="flex items-center justify-center p-10">
      <Button>Borrow manuscript</Button>
    </div>
  );
}

More by ebnsina

View all
  • Countdown Timer

    Countdown Timer

    24
  • Video Player

    Video Player

    19
  • Alarm Clock

    Alarm Clock

    18
  • Voice Note

    Voice Note

    12
  • Split Button

    Split Button

    11
  • Sortable List

    Sortable List

    11
  • Stopwatch

    Stopwatch

    6
  • Code Block

    Code Block

    6

More in Buttons

View all
  • Button

    Button

    1
  • Texture Button

    Texture Button

    97
  • Eclipse Button

    Eclipse Button

    39
  • App Store Button

    App Store Button

    458
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Button

    Button

    4
  • Button

    Button

    65
  • Button

    Button

    68