new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

shadcn/ui · Components · all subjects

attachment/props

9 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Attachment component props

The Attachment component accepts the following props: state (type: "idle" | "uploading" | "processing" | "error" | "done", default: "done") - The upload state that drives styling and the shimmer effect; size (type: "default" | "sm" | "xs", default: "default") - The attachment size; orientation (type: "horizontal" | "vertical", default: "horizontal") - Lay the media beside or above the content; className (type: string, default: -) - Additional classes to apply to the root element.

AttachmentMedia component props

The AttachmentMedia component accepts the following props: variant (type: "icon" | "image", default: "icon") - Whether the media holds an icon or an <img>; className (type: string, default: -) - Additional classes to apply to the media slot.

AttachmentContent component props

The AttachmentContent component accepts the following props: className (type: string, default: -) - Additional classes to apply to the content slot.

AttachmentTitle component props

The AttachmentTitle component accepts the following props: className (type: string, default: -) - Additional classes to apply to the title. The title shimmers while the attachment is uploading or processing.

AttachmentDescription component props

The AttachmentDescription component accepts the following props: className (type: string, default: -) - Additional classes to apply to the description. It is used for secondary metadata such as the file type, size, or upload status.

AttachmentActions component props

The AttachmentActions component accepts the following props: className (type: string, default: -) - Additional classes to apply to the actions container. It is aligned to the end of the attachment.

AttachmentAction component props

The AttachmentAction component renders a Button and accepts the following props: size (type: Button["size"], default: "icon-xs") - The button size; ...props (type: React.ComponentProps<typeof Button>, default: -) - Props spread to the underlying Button component.

AttachmentTrigger component props

The AttachmentTrigger component renders a <button> by default and accepts the following props: asChild (type: boolean, default: false) - Render as the child element, such as a link; ...props (type: React.ComponentProps<"button">, default: -) - Props spread to the trigger element.

AttachmentGroup component props

The AttachmentGroup component accepts the following props: className (type: string, default: -) - Additional classes to apply to the group. It lays out attachments in a horizontally scrollable, snapping row.

Give your agent this brain