py_ets

Field Button

Buttons

About

A small borderless icon/text button styled for use inside form fields like comboboxes, date pickers, and number steppers.

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

Code

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

Usage.tsx

import { FieldButton } from "@/components/ui/tailwind-fieldbutton";
import { ChevronDown } from "lucide-react";

export default function FieldButtonDemo() {
  return (
    <div className="flex items-center gap-2 rounded-md border border-neutral-300 bg-white px-2 py-1 dark:border-neutral-700 dark:bg-neutral-900">
      <span className="px-1 text-sm text-neutral-700 dark:text-neutral-300">
        Select an option
      </span>
      <FieldButton aria-label="Open menu">
        <ChevronDown className="h-4 w-4" />
      </FieldButton>
    </div>
  );
}

Dependencies

More by py_ets

View all
  • Alert Dialog

    Alert Dialog

    17
  • Progress Bar

    Progress Bar

    13
  • Command Palette

    Command Palette

    12
  • React Aria CheckboxGroup

    React Aria CheckboxGroup

    11
  • Segmented Control

    Segmented Control

    8
  • React Aria DatePicker

    React Aria DatePicker

    8
  • React Aria GridList

    React Aria GridList

    7
  • React Aria Switch

    React Aria Switch

    7

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Button

    Button

    21
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    88
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19