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

message/props

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

MessageHeader prop: className

Type: string. Default: none. Description: Additional classes to apply to the header.

MessageFooter prop: className

Type: string. Default: none. Description: Additional classes to apply to the footer.

MessageAvatar alignment with footer

MessageAvatar is aligned to the bottom of the message. When the message has a MessageFooter, the avatar shifts up to stay aligned with the message surface instead of the footer.

Message prop: align

Type: 'start' | 'end'. Default: 'start'. Description: The alignment of the message in the conversation.

Message prop: className

Type: string. Default: none. Description: Additional classes to apply to the row.

MessageGroup prop: className

Type: string. Default: none. Description: Additional classes to apply to the group root.

MessageAvatar prop: className

Type: string. Default: none. Description: Additional classes to apply to the avatar slot.

MessageContent prop: className

Type: string. Default: none. Description: Additional classes to apply to the content slot.

MessageAvatar component props API

The MessageAvatar component accepts the following props: | Prop | Type | Default | Description | | --- | --- | --- | --- | | className | string | - | Additional classes to apply to the avatar slot. |

MessageHeader component props API

The MessageHeader component accepts the following props: | Prop | Type | Default | Description | | --- | --- | --- | --- | | className | string | - | Additional classes to apply to the header. |

Message API props

Message component props: | Prop | Type | Default | Description | | --- | --- | --- | --- | | align | "start" \| "end" | "start" | The alignment of the message in the conversation. | | className | string | - | Additional classes to apply to the row. |

MessageGroup API props

MessageGroup component props: | Prop | Type | Default | Description | | --- | --- | --- | --- | | className | string | - | Additional classes to apply to the group root. |

MessageAvatar API props

MessageAvatar component props: | Prop | Type | Default | Description | | --- | --- | --- | --- | | className | string | - | Additional classes to apply to the avatar slot. | The avatar slot is aligned to the bottom of the message. When the message has a MessageFooter, the avatar shifts up to stay aligned with the message surface instead of the footer.

MessageContent API props

MessageContent component props: | Prop | Type | Default | Description | | --- | --- | --- | --- | | className | string | - | Additional classes to apply to the content slot. | MessageContent wraps the header, message surface, and footer.

MessageHeader API props

MessageHeader component props: | Prop | Type | Default | Description | | --- | --- | --- | --- | | className | string | - | Additional classes to apply to the header. | MessageHeader displays content above the message, such as a sender name. It stays aligned to the start regardless of the align prop setting.

MessageFooter API props

MessageFooter component props: | Prop | Type | Default | Description | | --- | --- | --- | --- | | className | string | - | Additional classes to apply to the footer. | MessageFooter displays content below the message, such as status or actions. It aligns to the message side.

Give your agent this brain