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

context-menu/variants

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.

Context Menu radio variant

To enable single selection (exclusive choices) in a context menu, use the selectionMode="single" prop.

Context Menu icons variant

You can combine icons with labels in context menu items for quick visual scanning.

Context Menu checkboxes variant

To enable multiple selection in a context menu, use the selectionMode="multiple" prop for toggle functionality.

Context Menu component variants and features

Context Menu supports the following features: ContextMenuSub for nested secondary actions, ContextMenuShortcut for keyboard hints, ContextMenuGroup for grouping related actions, icons, ContextMenuCheckboxItem for toggles, ContextMenuRadioItem for exclusive choices, destructive styling with variant="destructive", and side/align props for controlling submenu placement.

Context Menu checkboxes with ContextMenuCheckboxItem

Use ContextMenuCheckboxItem for toggle functionality in context menus.

Context Menu radio buttons with ContextMenuRadioItem

Use ContextMenuRadioItem for exclusive choice selection in context menus.

Context Menu destructive variant

Use variant="destructive" to style a menu item as destructive.

Context Menu submenu with ContextMenuSub

Use ContextMenuSub to nest secondary actions in a context menu.

Context Menu shortcuts with ContextMenuShortcut

Add ContextMenuShortcut to show keyboard hints in context menu items.

Context Menu groups with separators

Group related actions using ContextMenuGroup and separate them with ContextMenuSeparator dividers.

Give your agent this brain