Bottom sheet menu
On the phone the menu slides up from the bottom, with a grab handle and a scrim.
Mobile onlyUsed in production
Install
npx finepieces add bottom-sheet-menuOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/bottom-sheet-menu.jsonTap Menu
example.tsx
import { BottomSheetMenu } from "@/components/fine-pieces/bottom-sheet-menu";
export default function Example() {
return (
<Phone bg="#E9EDE4">
<BottomSheetMenu
brand="Fleur & Zo"
image={"/images/bloem-2.webp"}
links={["Bouquets", "Subscription", "Weddings", "Funerals", "Shop"].map((label) => ({ label, href: "#" }))}
cta={{ label: "Order a bouquet", href: "#" }}
/>
</Phone>
);
}