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, RiNotificationLine } from "@remixicon/react";

export default function IconButtonDemo() {
  return (
    <div className="flex items-center gap-3">
      <IconButton icon={RiNotificationLine} aria-label="Notifications" />
      <IconButton icon={RiEditLine} aria-label="Edit" />
    </div>
  );
}

Dependencies

More by boardui

View all
  • Social Button

    Social Button

    6
  • Modal Dialog

    Modal Dialog

    5
  • Composer Loader

    Composer Loader

    4
  • Accordion

    Accordion

    2
  • Select

    Select

    1
  • Segmented Control

    Segmented Control

  • Date Calendar

    Date Calendar

  • Slider

    Slider

More in Buttons

View all
  • Button

    Button

    168
  • Texture Button

    Texture Button

    122
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Button

    Button

    88
  • Native Button

    Native Button

    7
  • Button

    Button

    74
  • Button Group

    Button Group

    1
  • Button

    Button

    21