InputGroupTextareaExamples() — ui Function Reference
Architecture documentation for the InputGroupTextareaExamples() function in input-group-textarea-examples.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b96a1c8d_cad3_24b7_8f9f_c89ab44f0737["InputGroupTextareaExamples()"] e3983884_a9dd_9faa_4961_c9309038b93d["input-group-textarea-examples.tsx"] b96a1c8d_cad3_24b7_8f9f_c89ab44f0737 -->|defined in| e3983884_a9dd_9faa_4961_c9309038b93d style b96a1c8d_cad3_24b7_8f9f_c89ab44f0737 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/input-group-textarea-examples.tsx lines 24–155
export function InputGroupTextareaExamples() {
return (
<FieldGroup>
<Field>
<FieldLabel htmlFor="textarea-header-footer-12">
Default Textarea (No Input Group)
</FieldLabel>
<Textarea
id="textarea-header-footer-12"
placeholder="Enter your text here..."
/>
</Field>
<Field>
<FieldLabel htmlFor="textarea-header-footer-13">Input Group</FieldLabel>
<InputGroup>
<InputGroupTextarea
id="textarea-header-footer-13"
placeholder="Enter your text here..."
/>
</InputGroup>
<FieldDescription>
This is a description of the input group.
</FieldDescription>
</Field>
<Field data-invalid="true">
<FieldLabel htmlFor="textarea-header-footer-14">Invalid</FieldLabel>
<InputGroup>
<InputGroupTextarea
id="textarea-header-footer-14"
placeholder="Enter your text here..."
aria-invalid="true"
/>
</InputGroup>
<FieldDescription>
This is a description of the input group.
</FieldDescription>
</Field>
<Field data-disabled="true">
<FieldLabel htmlFor="textarea-header-footer-15">Disabled</FieldLabel>
<InputGroup>
<InputGroupTextarea
id="textarea-header-footer-15"
placeholder="Enter your text here..."
disabled
/>
</InputGroup>
<FieldDescription>
This is a description of the input group.
</FieldDescription>
</Field>
<Field>
<FieldLabel htmlFor="prompt-31">Addon (block-start)</FieldLabel>
<InputGroup>
<InputGroupTextarea id="prompt-31" />
<InputGroupAddon align="block-start">
<InputGroupText>Ask, Search or Chat...</InputGroupText>
<InfoIcon className="text-muted-foreground ml-auto" />
</InputGroupAddon>
</InputGroup>
<FieldDescription>
This is a description of the input group.
</FieldDescription>
</Field>
<Field>
<FieldLabel htmlFor="textarea-header-footer-30">
Addon (block-end)
</FieldLabel>
<InputGroup>
<InputGroupTextarea
id="textarea-header-footer-30"
placeholder="Enter your text here..."
/>
<InputGroupAddon align="block-end">
<InputGroupText>0/280 characters</InputGroupText>
<InputGroupButton
variant="default"
size="icon-xs"
className="ml-auto rounded-full"
>
<ArrowUpIcon />
<span className="sr-only">Send</span>
Domain
Subdomains
Source
Frequently Asked Questions
What does InputGroupTextareaExamples() do?
InputGroupTextareaExamples() is a function in the ui codebase, defined in apps/v4/examples/radix/input-group-textarea-examples.tsx.
Where is InputGroupTextareaExamples() defined?
InputGroupTextareaExamples() is defined in apps/v4/examples/radix/input-group-textarea-examples.tsx at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free