Skip to content

Menu

Menu is a crucial part of any application that allows users quickly achieve their goals. It must be simple and easy to use and that is why we have a dedicated component that you can embed anywhere in your app.

Example

Below is an example with circle layout.

Props

PropertyTypeDefaultDescription
visiblebooleantrueShows or hides the menu.
sizeenum (small, medium, large)mediumInfluences the compactness of the menu (paddings, font sizes, etc.)
positionnumber[]0 0 0Sets menu position.
primarystring (blue, #fff)#0091E3Alters menu color (text, background, icon background).
itemsstring (JSON)""Decorates menu using title, color or icon. Format: { icon: "home.svg", title: "", color: "red" }. Icon is a URL or asset ID with hashtag. Default color is white.
variantenum (filled, transparent)filledAlters overall menu look.
logoiconimage url or asset ID (string)""Sets a menu prepend icon based on the image's url or asset ID with hashtag.
layoutstring (circle, grid)gridSets menu layout.
highlightedstring(red, #fff)#C1080CSets color of elements when clicked on
backbuttonbooleanfalseDisplays back button in the middle of the menu