boardui

Icon Button

Buttons

About

A square icon-only button component with medium and small sizes, used for compact actions like edit or notification controls in toolbars and table rows.

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

Code

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

Usage.tsx

import { IconButton } from "@/components/ui/icon-button";
import { RiEditLine } from "@remixicon/react";

export default function IconButtonSizesDemo() {
  return (
    <div className="flex items-center gap-4">
      <IconButton icon={RiEditLine} size="medium" aria-label="Edit" />
      <IconButton icon={RiEditLine} size="small" aria-label="Edit" />
      <IconButton icon={RiEditLine} aria-label="Edit" disabled />
    </div>
  );
}

Dependencies

More by boardui

View all
  • Social Button

    Social Button

    3
  • Segmented Control

    Segmented Control

  • Notification Center

    Notification Center

  • Spinner

    Spinner

  • Dropdown

    Dropdown

  • Chip

    Chip

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