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

Mantine · all subjects

avatar/props

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

Avatar name prop for initials

Set the name prop to display initials instead of the default placeholder. For example, name="John Doe" will extract and display initials from the name.

Avatar color="initials" generates color from name

When the name prop is set, you can use color="initials" to automatically generate a color based on the person's name.

Avatar allowedInitialsColors prop restricts color choices

By default, all colors from the default theme are allowed for initials. You can restrict which colors are used by providing the allowedInitialsColors prop with an array of color names. Note that custom colors defined in the theme must be provided manually in this array.

Avatar placeholder customization

If the image cannot be loaded or is not provided, Avatar displays a placeholder. By default the placeholder is an icon, but it can be changed to any React node.

Avatar polymorphic component default element

Avatar is a polymorphic component with div as the default element. It can be changed to other elements like button.

Avatar as a link

Avatar can be used as a link by changing its component prop to a link element or component.

Give your agent this brain