shadcn.io is not affiliated with official shadcn/ui
Input Group examples · Spinner
Textarea Loading Input Group for React
A disabled textarea with a spinner under it and a disabled input with a spinner at its end.
Framework
UI library
Loading states for both control types. The textarea, disabled while content is generated, has a Spinner in a bordered block-end row; the upload input has one at its end.
Preview
Installation
Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
FAQ
How does the spinner sit under the textarea?
In an InputGroupAddon with align="block-end" and border-t, after the textarea.
How are the controls disabled?
disabled on InputGroupTextarea and InputGroupInput. data-disabled="true" on InputGroup dims the addons.
Related
- Loading States Input GroupTwo disabled inputs, one with a spinner
- Spinner with Text Input GroupA disabled input with Saving
- Animated Icon Spinner Input GroupA disabled input with a spinning loader
- Block Labels Input GroupAn input and a textarea, each with its
- Simple TextareaA plain textarea with a placeholder and
- Input with LabelA text input with a label above it