Landing

LandingHeroDevices

Hero composition for apps: a laptop with a sidebar and an app screen, a phone and a floating card with an alert. Screens are generated from content, or real screenshots with kind "image" and a dark version.

components/landing/LandingHeroDevices.vue
View in the demo

Example

API

Props

Name
Type
Default
Description
desktop
required
LandingAppScreen—The screen of the laptop.
urlstring—The address shown in the browser frame.
phoneLandingAppScreen—The screen of the phone, shown next to the laptop.
mobileLandingAppScreen—A phone screen shown only below md (960px) in place of the laptop, so a phone visitor sees a real phone screenshot instead of a shrunk desktop one.
sidebarLandingAppNavItem[][]The items of the app sidebar in the mockup.
insightLandingAppInsight—A floating insight card, shown from the lg breakpoint (1280px). Below it the card is hidden and the phone shrinks so both screens stay readable.
codeLandingHeroDevicesCode—A small code editor (name is the file path: its last part is the active tab and the whole path the breadcrumb; code; optional tabs for other open files, firstLine and activeLine for the line numbers and the highlighted line with a blinking cursor, problems and status for the status bar) that overlaps the laptop from md up and replaces the insight card. The template shows the BaseKpiCard behind the Revenue card. It always uses the dark theme, like an editor.
labelstring—The accessible name of the block.
© 2026 melsami UI.
Developer documentation for melsami UI.