Tooltip
A short label that shows when you point at a button.
Add it to your project
Or install the packages yourselfTerminal
npm install @mui/icons-material @mui/material
First time with Material UI? Set it up once.
The code
'use client';
import DeleteIcon from '@mui/icons-material/Delete';
import IconButton from '@mui/material/IconButton';
import Tooltip from '@mui/material/Tooltip';
export default function BasicTooltip() {
return (
<Tooltip title="Delete">
<IconButton>
<DeleteIcon />
</IconButton>
</Tooltip>This comes with paid plans
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.