Skip to main content

<st-footer>

JSON type: Footer

The footer, in two layouts:

  • Bar (default): a copyright line plus an optional "powered by" link — what the suite's authenticated apps use.
  • Site: when columns, socialLinks, description or imageSrc is set, the footer becomes a marketing-site footer — brand (logo/company name, description, social icons), link columns and a bottom bar with the copyright and "powered by".

Fires a cancelable footer-link event (detail { href }) when an internal link is clicked.

Usage​

import '@sankhyatronics/sankhya-cms/footer'; // registers <st-footer>

Properties​

PropertyAttributeTypeDefaultDescription
invertedinvertedbooleanfalseInverts the footer's color roles (light-on-dark instead of dark-on-light) — matches the source component's inverted (from its shared BaseProps), same as st-header's.
companyNamecompany-namestring''Used to build the default copyright line (© &#123;year&#125; &#123;companyName&#125;) when copyright isn't set explicitly.
copyrightcopyrightstring''Overrides the default computed copyright line entirely.
legalNotelegal-notestring''Legal line (e.g. a trademark notice) shown beside the copyright. Empty hides it.
poweredBypowered-bystring''
poweredByLinkpowered-by-linkstring''
versionversionstring''App version, rendered as v&#123;version&#125; after the copyright line — for apps that show their own version in the footer rather than the header title.
imageSrcimage-srcstring''Logo shown in the brand block (site layout).
imageAltimage-altstring''Alt text of the logo. Default: the company name plus "home", or "Home" without one.
descriptiondescriptionstring''Short blurb under the logo (site layout).
columns—FooterColumn[][]Link columns (site layout).
socialLinks—FooterSocialLink[][]Social icon links under the description (site layout).

See the live examples in Storybook.