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

blocks/structure

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

Block internal file structure example

A block can contain a page.tsx at the root, a components directory with component files, a hooks directory with custom hook files, and a lib directory with utility files. For example: dashboard-01/page.tsx, dashboard-01/components/hello-world.tsx, dashboard-01/components/example-card.tsx, dashboard-01/hooks/use-hello-world.ts, dashboard-01/lib/format-date.ts.

Headless component architecture with open top layer

shadcn/ui follows a headless component architecture. The core of your app can receive fixes by updating dependencies like @base-ui/react or input-otp. The topmost layer, closest to your design system, is not coupled with the library implementation and stays open for modification.

Give your agent this brain