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

dialog/variants

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.

Dialog close button visibility prop

Use the showCloseButton prop set to false to hide the close button: showCloseButton={false}

Dialog custom close button variant

The Dialog component supports replacing the default close control with a custom button.

Dialog component variants available

Dialog has the following documented variants: custom close button (replace the default close control with a custom button), no close button (using showCloseButton={false}), sticky footer (keep actions visible while content scrolls), and scrollable content (long content can scroll while header stays in view).

Dialog custom close button variant

You can replace the default close control with your own button by creating a custom close button component.

Dialog sticky footer variant

The sticky footer variant keeps actions visible while the content scrolls, allowing the footer to remain fixed while the dialog body content is scrollable.

Dialog scrollable content variant

The scrollable content variant allows long content to scroll while the header stays in view, keeping the dialog header fixed at the top.

Give your agent this brain