Logo API
API reference docs for the Stash Logo
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import Logo from '@leaflink/stash/Logo.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
brand | "leaflink" | "payments" | "marketplace" | "flex-pay" | "direct-pay" | "post" | leaflink | brand to use for the logo. This, along with variant, will determine which logo to display. |
color | "purple" | "white" | purple | What color the logo should be. |
height | string | number | undefined | Height of the logo. |
variant | "lockup" | "brandmark" | lockup | Which variant of the logo to display. |
width | string | number | undefined | Width of the logo. |
Slots
None
Events
Name | Description |
---|---|
error | Fires when an invalid brand and variant combination is provided. |