Button with a menu
A button that opens a menu of things to create.
Add it to your project
Or install the packages yourselfTerminal
npm install @mantine/core @tabler/icons-react
First time with Mantine UI? Set it up once.
The code
import {
IconCalendar,
IconChevronDown,
IconPackage,
IconSquareCheck,
IconUsers,
} from '@tabler/icons-react';
import { Button, Menu, Text, useMantineTheme } from '@mantine/core';
export function ButtonMenu() {
const theme = useMantineTheme();
return (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.