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

collapsible/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.

Collapsible controlled state example

Controlled Collapsible example: ```tsx import * as React from "react" export function Example() { const [open, setOpen] = React.useState(false) return ( <Collapsible open={open} onOpenChange={setOpen}> <CollapsibleTrigger>Toggle</CollapsibleTrigger> <CollapsibleContent>Content</CollapsibleContent> </Collapsible> ) } ```

Collapsible import statement

Import the collapsible components using: import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@/components/ui/collapsible"

Collapsible basic usage example

Basic collapsible usage: <Collapsible><CollapsibleTrigger>Can I use this in my project?</CollapsibleTrigger><CollapsibleContent>Yes. Free to use for personal and commercial projects. No attribution required.</CollapsibleContent></Collapsible>

Give your agent this brain