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

registry & components

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.

Carousel component features

The Carousel component is a fully featured carousel with motion, swipe gestures, and keyboard support. It is built on top of Embla Carousel and has support for infinite looping, autoplay, vertical orientation, and more.

Drawer component features

The Drawer component is a drawer component optimized for mobile. It is built on top of Vaul by emilkowalski.

Pagination component features

The Pagination component provides page navigation, previous and next buttons. It is simple, flexible, and works with framework-specific Link components.

Resizable component features

The Resizable component is used to build resizable panel groups and layouts. It is built using react-resizable-panels by bvaughn and has support for mouse, touch, and keyboard interactions.

Sonner toast component

Sonner is a toast component available in shadcn/ui, created by emilkowalski.

Components ship with their own dependencies

Each component now ships its own dependencies. For example, the accordion component can define its own Tailwind keyframes. When you add a component to your project, the CLI updates your tailwind.config.ts file accordingly.

Component registry schema for custom registries

A new schema has been created that allows you to ship your own component registry. The schema supports URLs, enabling you to distribute private components.

shadcn 2.5.0 resolve anywhere feature

shadcn 2.5.0 introduces the 'resolve anywhere' feature, which allows registries to place files anywhere in an app and properly resolve imports. This removes the constraint of adhering to a fixed file structure. The feature can even add files outside the registry itself. On install, all files are tracked and a multi-pass resolution is performed to correctly handle imports and aliases, with optimized performance.

Registry file placement flexibility

Registries in shadcn 2.5.0 are no longer restricted to a fixed file structure. Files can be placed anywhere in an app, and the CLI will correctly resolve imports through a multi-pass resolution process that occurs during installation.

Local files feature benefits

Local file support in shadcn CLI enables zero setup without remote registries, faster development for testing registry items locally before publishing, enhanced workflow for agents and MCP, and the ability to keep proprietary components local and private.

Give your agent this brain