Shadcn Input Group API Request
API request input with method selector and send action. Built by composing Dropdown Menu, Field, Input Group. Uses cn alongside the shadcn primitives. A free, open source shadcn input group example you can install with npx shadcn@latest add @reui/c-input-group-36 and edit as your own code.
API request input with method selector and send action
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: An API endpoint bar led by a color coded GET, POST, PUT, PATCH or DELETE menu and ending in Send
When to use
- Text fields with a leading icon, prefix or suffix text, a unit or a status mark inside one border
- Search, link and API bars that end in a copy, clear, filter, menu or send control
- Prompt and comment composers: a text area with a toolbar row above or below the text
When not to use
- Selects, fields and actions joined edge to edge, each keeping its own border: use the Button Group component
- A plain text field with no icon, text or action inside its border: use the Input component
- A complete assistant screen with a message thread above the prompt box: use the AI Chat blocks
Agent notes
- On the base twin each method row sets
methodfromonSelect, which a Base UI menu never calls, so it stays GET; useonClick - Send has no handler; call your API with
methodand the endpoint path from it - The border turns red from
aria-invalidon the control;data-invalidonFieldonly tints text, so set both asc-input-group-3does - Addon icons and text never name the control; tie a
FieldLabelto the input or textarea id asc-input-group-20does, or give it an aria label InputGroupButtondefaultstypeto button, so pass submit when it should send the surrounding form
https://reui.io/components/input-group/c-input-group-36.mdget_example("c-input-group-36")npx shadcn@latest add @reui/c-input-group-36Shadcn Components in Input Group API Request
Dependencies
- cn
About Shadcn Input Group API Request
API request input with method selector and send action. Built by composing Dropdown Menu, Field, Input Group. Uses cn alongside the shadcn primitives. A free, open source shadcn input group example you can install with npx shadcn@latest add @reui/c-input-group-36 and edit as your own code.
What You Can Build With Shadcn Input Group API Request
- Composes Dropdown Menu, Field, Input Group, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-input-group-36
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Input Group Examples
- Basic Basic input group
- Disabled Input group in disabled state
- Invalid Input group in invalid state
- Prefix Icon Input group with prefix icon
- Suffix Icon Input group with suffix icon
- Prefix Suffix Icons Input group with both prefix and suffix icons
- Prefix Text Input group with prefix text addon
- Suffix Text Input group with suffix text addon
- Prefix Suffix Text Input group with both prefix and suffix text addons
- Action Button Input group with action button addon
- Icon Button Input group with icon button action
- Dropdown Select Input group with dropdown menu selection
Related Shadcn Component Categories
Open-source shadcn OTP input components for verification codes, 2FA flows, and secure confirmation screens.
Open-source shadcn item row components for list rows, settings items, and action rows.
Open-source shadcn kanban components for task boards, workflow pipelines, and drag-and-drop planning.
Open-source shadcn keyboard shortcut components for hotkey hints, command docs, and shortcut legends.
Open-source shadcn label components for form labels, accessible inputs, and field pairing.
Open-source shadcn marker components for agent run logs, inline status lines, and labeled separators.
Frequently Asked Questions
When should I use Shadcn Input Group API Request?
Use it for an API endpoint bar led by a color coded GET, POST, PUT, PATCH or DELETE menu and ending in Send.
Shadcn Input Group as a whole fits:
- Text fields with a leading icon, prefix or suffix text, a unit or a status mark inside one border
- Search, link and API bars that end in a copy, clear, filter, menu or send control
- Prompt and comment composers: a text area with a toolbar row above or below the text
For selects, fields and actions joined edge to edge, each keeping its own border, use the Button Group component. For a plain text field with no icon, text or action inside its border, use the Input component. For a complete assistant screen with a message thread above the prompt box, use the AI Chat blocks.
How do I install Shadcn Input Group API Request?
Is Shadcn Input Group API Request free to use?
Which components does Shadcn Input Group API Request use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.