deliver.ui

Dynamic Island

A dark capsule that opens into a menu.

Installation

npm install motion @radix-ui/react-slot class-variance-authority clsx tailwind-merge

Then copy the files from the Code tab into the same paths in your project, in TypeScript or JavaScript.

Props

PropTypeDefaultDescription
logoReactNode-Your logo. It inherits currentColor.
itemsNavItem[]-Links: label, href, optional icon and children.
cta{ label: string; href: string }-Optional call-to-action button.
classNamestring-Extra classes for the outer element.