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 · all subjects

component composition & structure

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

Card component composition structure

The Card component has the following structure: Card contains CardHeader (which contains CardTitle, CardDescription, and CardAction), CardContent, and CardFooter.

Benefits of composition documentation for LLMs

Composition sections help LLMs and coding agents compose elements more reliably by showing the full structure, resulting in fewer missing wrappers, fewer wrong hierarchies, and better matches to examples.

Alert composition structure

Alert component composition consists of: Alert (root), Icon, AlertTitle, AlertDescription, and AlertAction as child elements.

Alert Dialog component imports

The Alert Dialog component provides the following exports: AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, and AlertDialogTrigger.

Command component composition structure

Command components are composed as follows: Command contains CommandInput and CommandList. CommandList contains CommandGroup and CommandSeparator. CommandGroup contains multiple CommandItem components. CommandEmpty renders when no results are found.

Give your agent this brain

component composition & structure — shadcn/ui