v0.0.2
Demos (demo panel, opens in a new tab)

Logo

The store's wordmark, in each theme's own style: default in Nova, modern in Vivid, classic in Atelier.

zb:shop.logo zubazar/ui-pro

PRO

This component is in Zubazar UI Pro; Zubazar UI Pro brings Zubazar UI with it. Installing Zubazar UI Pro →

Three styles

Three styles: view
BLADE

variant picks the logo's style.

blade
<zb:shop.logo />
<zb:shop.logo variant="modern" />
<zb:shop.logo variant="classic" />
PropValues
variantdefault (Nova) | modern (Vivid) | classic (Atelier)

On a dark background

On a dark background: view
BLADE

inverted makes the lettering white: for a dark footer or a dark strip.

blade
<div class="flex flex-wrap items-center gap-12 bg-gray-950 p-6">
    <zb:shop.logo inverted />
    <zb:shop.logo variant="modern" inverted />
    <zb:shop.logo variant="classic" inverted />
</div>

Props

The values the component takes. What are props and slots?

PropTypeDefaultDescription
variant—defaultdefault · modern · classic: the theme's logo style
invertedbooleanfalseLight lettering for a dark background

Developer notes

Events, hooks and details
  • The logo is not a link; it sits inside the link home in the navbar, the drawer and the footer.
  • The coloured parts use the store's primary colour (brand-600); the lettering is the theme's sample wordmark.
  • The navbar presets draw the logo with Themes::current()->look; give the link an accessible name with aria-label.
  • A copy in that folder comes before the package's, and every place that uses the logo (the navbar, the drawer, the footer) draws it.
Zubazar UI · ZubazarDesigned for people.