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

tooltip/installation

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

Tooltip manual installation dependencies

For manual installation, install react-aria-components using: npm install react-aria-components

Tooltip component file location

When manually installing, copy the tooltip component source to components/ui/tooltip.tsx and update import paths to match your project setup.

Tooltip manual installation dependency

To manually install Tooltip, install the dependency: npm install @base-ui/react

Tooltip manual installation dependencies

To manually install the Tooltip component, install the following dependency: npm install radix-ui

Tooltip CLI installation

To install the Tooltip component using the command line, run: npx shadcn@latest add tooltip

Tooltip requires TooltipProvider at root

After installing the Tooltip component, add the TooltipProvider to the root of your app. The TooltipProvider must wrap the children in the root layout to enable tooltip functionality across the application.

TooltipProvider root layout example

This example shows how to set up the TooltipProvider in a root layout file. Import TooltipProvider from @/components/ui/tooltip and wrap your children with it: ```tsx import { TooltipProvider } from "@/components/ui/tooltip" export default function RootLayout({ children }) { return ( <html lang="en"> <body> <TooltipProvider>{children}</TooltipProvider> </body> </html> ) } ```

Give your agent this brain