Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@plone-collective/volto-block-banner

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plone-collective/volto-block-banner

volto-block-banner: Volto add-on

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

volto-block-banner

A volto block add-on for a banner. It contains two sub-elements:

  1. Text: The display text of the banner.
  2. CTA-Button: Call To Action (CTA) button.

Customizable properties

Click to expand!
  1. text (string): Main text or the heading of the banner.
  2. showActionButton (boolean): Toggle the CTA-Button.
  3. actionButtonText (string): CTA-Button label.
  4. actionButtonUrl (string): CTA-Button URL which is navigated onClick.
  5. backgroundColor (string): Specifies the backgroundColor css property for the banner.
  6. textColor (string): Specifies the color css property for Text.
  7. showCircle (boolean): Toggle the orange circle background design.
  8. marginBottom (string): Specifies the margin-bottom css property of the banner.

Example

Configuration

text: 'This is a Banner!! Put your message here!'
showActionButton: true
actionButtonText: 'Take Action'
actionButtonUrl: '/'
backgroundColor: '#2b4eff'
textColor: '#ffffff'
showCircle: true
marginBottom: '15px'

Output

image

Keywords

FAQs

Package last updated on 12 Sep 2022

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