salla-apps-icons

Shows the store's mobile app download badges (for example App Store and Google Play) as links, using the app links from the store settings.

Shows the store's mobile app download badges (for example App Store and Google Play) as links, using the app links from the store settings. Use it in the footer. It renders nothing when the store has no apps.

Use it

In HTML or JSX, use the tag <salla-apps-icons> with the Attribute names below. In React, the wrapper takes the Property names (camelCase).

import { SallaAppsIcons } from '@salla.sa/twilight-components-react/apps-icons';

Try it

web-components/salla-apps-icons

Example

import { SallaAppsIcons } from '@salla.sa/twilight-components-react/apps-icons';

export function Example() {
  return (
    <SallaAppsIcons vertical />
  );
}

Properties

PropertyAttributeDescriptionTypeDefault
appsTitleapps-titleThe heading text. The component sets it to the translated "download apps" text once translations load, so a value set before that is replaced.string
hideTitlehide-titleHides the title heading above the badges.boolean
verticalverticalStacks the badges vertically (adds the vertical class to the list). When false they are laid out horizontally.boolean

Slots

SlotDescription
appReplaces app item, has replaceable props {icon}, {name}.

On this page