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

button-group/props

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

ButtonGroupText API props table

ButtonGroupText props: render (type: boolean, default: false).

ButtonGroupText API reference props table

ButtonGroupText component props: asChild (type: boolean, default: false).

ButtonGroupText asChild prop

The ButtonGroupText component supports the asChild prop to render a custom component as the text, for example a Label component. When asChild is true, ButtonGroupText will render the child component directly.

ButtonGroup orientation prop

The ButtonGroup component has an orientation prop that accepts 'horizontal' or 'vertical' values, with 'horizontal' as the default.

ButtonGroup size control

Control button sizes within a ButtonGroup by using the size prop on individual Button components.

ButtonGroupSeparator orientation prop

The ButtonGroupSeparator component has an orientation prop that accepts 'horizontal' or 'vertical' values, with 'vertical' as the default.

ButtonGroupText render prop

The ButtonGroupText component has a render prop of type React.ReactElement that allows rendering a custom component as the text element, such as a label.

ButtonGroup API reference - ButtonGroup props

ButtonGroup props: orientation (type: 'horizontal' | 'vertical', default: 'horizontal')

ButtonGroup API reference - ButtonGroupSeparator props

ButtonGroupSeparator props: orientation (type: 'horizontal' | 'vertical', default: 'vertical')

ButtonGroup API reference - ButtonGroupText props

ButtonGroupText props: render (type: React.ReactElement, default: none - required)

Give your agent this brain