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

popover/usage

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

Popover basic usage example

Here is a basic example of a popover component: ```tsx <PopoverTrigger> <Button variant="outline">Open Popover</Button> <Popover> <PopoverHeader> <PopoverTitle>Title</PopoverTitle> <PopoverDescription>Description text here.</PopoverDescription> </PopoverHeader> </Popover> </PopoverTrigger> ``` This example shows how to structure a popover with a trigger button, a popover container, a header section containing a title and description.

Popover component imports

Import the following from @/components/ui/popover: Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger

Popover basic usage example

Basic popover usage: <Popover><PopoverTrigger asChild><Button variant="outline">Open Popover</Button></PopoverTrigger><PopoverContent><PopoverHeader><PopoverTitle>Title</PopoverTitle><PopoverDescription>Description text here.</PopoverDescription></PopoverHeader></PopoverContent></Popover>

Give your agent this brain