New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bolttech/atoms-footer

Package Overview
Dependencies
Maintainers
0
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bolttech/atoms-footer

A React component to display a footer section with call-to-action buttons.

  • 0.21.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

FooterCtas Component

A React component to display a footer section with call-to-action buttons.

Installation

Use the package manager npm or yarn to install the component.

npm install @bolttech/frontend-foundations @bolttech/atoms-footer

or

yarn add @bolttech/frontend-foundations @bolttech/atoms-footer

Props

The FooterCtas component accepts the following properties:

PropTypeDescription
copyRightInfostringThe copyright information for the footer.
imgLogostring or elementAn image URL or an element to be displayed as the footer logo.
labelLogostringThe label text for the footer logo.
labelLinksarrayAn array of objects containing label and link properties.
dataTestIdstringThe data-testid attribute for testing.

Usage

import React from 'react';
import {FooterCtas} from '@bolttech/atoms-footer';
import {bolttechTheme, BolttechThemeProvider} from "@bolttech/frontend-foundations";

const ExampleComponent = () => {
  const labelLinks = [
    {label: 'Home', link: '/'},
    {label: 'About', link: '/about'},
    {label: 'Contact', link: '/contact'},
  ];

  return (
    <BolttechThemeProvider theme={bolttechTheme}>
      <FooterCtas
        copyRightInfo="© 2023 Your Company. All Rights Reserved."
        imgLogo="https://example.com/logo.png"
        labelLogo="Your Company"
        labelLinks={labelLinks}
        dataTestId="custom-footer"
      />
    </BolttechThemeProvider>
  );
};

export default ExampleComponent;

FooterStack Component

A React component to display a stacked footer section with informational content.

Installation

Use the package manager npm or yarn to install the component.

npm install @bolttech/frontend-foundations @bolttech/atoms-footer

or

yarn add @bolttech/frontend-foundations @bolttech/atoms-footer

Props

The FooterStack component accepts the following properties:

PropTypeDescription
copyRightInfostringThe copyright information for the footer.
imgLogostring or elementAn image URL or an element to be displayed as the footer logo.
labelLogostringThe label text for the footer logo.
oicInfoobjectAn object containing label and value properties.
dbdInfoobjectAn object containing label and value properties.
securityCompliancesobjectAn object containing label and imgLogo properties.
dataTestIdstringThe data-testid attribute for testing.

Usage

import React from 'react';
import {FooterStack} from '@bolttech/atoms-footer';
import {bolttechTheme, BolttechThemeProvider} from "@bolttech/frontend-foundations";

const ExampleComponent = () => {
  const oicInfo = {
    label: 'OIC Info',
    value: 'Some value related to OIC',
  };

  const dbdInfo = {
    label: 'DBD Info',
    value: 'Some value related to DBD',
  };

  const securityCompliances = {
    label: 'Security Compliances',
    imgLogo: 'https://example.com/security-logo.png',
    imgLogo2: 'https://example.com/security-logo2.png',
    imgLogo3: 'https://example.com/security-logo3.png',
  };

  return (
    <BolttechThemeProvider theme={bolttechTheme}>
      <FooterStack
        copyRightInfo="© 2023 Your Company. All Rights Reserved."
        imgLogo="https://example.com/logo.png"
        labelLogo="Your Company"
        oicInfo={oicInfo}
        dbdInfo={dbdInfo}
        securityCompliances={securityCompliances}
        dataTestId="custom-footer-stack"
      />
    </BolttechThemeProvider>
  );
};

export default ExampleComponent;

FAQs

Package last updated on 04 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc