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

    4
  • Modal Dialog

    Modal Dialog

    3
  • Composer Loader

    Composer Loader

    3
  • Select

    Select

    1
  • Accordion

    Accordion

    1
  • Segmented Control

    Segmented Control

  • Date Calendar

    Date Calendar

  • Slider

    Slider

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113