Layout

AppDemoReturnBar

A slim bar on top of the landing layout that takes visitors back to the page they came from. It only appears when the URL carries its query flag.

components/layout/AppDemoReturnBar.vue

Example

The bar only renders when the URL has the query flag. Add ?preview to this page to see it.

The template's sales page links its demo landings with ?demo, so a buyer who opens Merova Studio or Orbello can return to the template. Your own landings never carry the flag, so the bar stays hidden for your visitors.

API

Props

Name
Type
Default
Description
tostring"/#demos"Where the back link goes. Defaults to /#demos, the demo grid of the sales page.
buy-tostring—Adds a primary “Get the template” button pointing here.
querystring"demo"The query flag that shows the bar. Defaults to demo.
cookiestring—A cookie that also shows the bar. The default layout passes AUTH_DEMO_VISIT_COOKIE, set when a guest enters the live demo through ?demo and cleared on sign out.
systembooleanfalseRenders as a v-system-bar, so the app layout reserves its height above the navbar.
alwaysbooleanfalseShows the bar without the query or cookie. Landings with sample: true pass it.
context"app" | "landing""app"app says the demo data is fictional; landing says the company, prices, figures and reviews of the sample landing are fictional.
© 2026 melsami UI.
Developer documentation for melsami UI.