Reference
AI Attachments
One file riding the prompt: its glyph by extension, its name and human size, and a quiet way to take it back off. Uploading reads as a dashed ghost, error as danger ink.
Actions · Attachment · Attachments · CodeBody · CodeCopy · Content · Conversation · Loader · Message · Prompt · PromptEnd · PromptFooter · PromptHeader · PromptLeading · PromptMain · PromptTrailing · ReasoningContent · Response · Root · Source · Sources · Textarea · ToolBody · ToolLabel · ToolStatus · Trigger
#AiAttachment
One file riding the prompt: its glyph by extension, its name and human size, and a quiet way to take it back off. Uploading reads as a dashed ghost, error as danger ink.
| Prop | Type | Default | Description |
|---|---|---|---|
name | String | The file's name — it picks the glyph by extension. | |
size | Number | undefined | The file's size in bytes, when known — rendered human. |
status | String as PropType<"uploading" | "ready" | "error"> | "ready" | The upload's state on the wire. |
| Event | Payload |
|---|---|
remove | () => true |
#AiAttachments
The row the files ride in — a wrapping line of chips.
A styled part — no props of its own; it takes the anatomy's shared styling.