Elements

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.

PropTypeDefaultDescription
nameStringThe file's name — it picks the glyph by extension.
sizeNumberundefinedThe file's size in bytes, when known — rendered human.
statusString as PropType<"uploading" | "ready" | "error">"ready"The upload's state on the wire.
EventPayload
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.