Socket
Socket
Sign inDemoInstall

scrivito-adv-button

Package Overview
Dependencies
37
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    scrivito-adv-button

An alternative Button React component for the Scrivito CMS.


Version published
Maintainers
1
Created

Readme

Source

Scrivito Advanced Button

CMS: Scrivito License: MIT

An alternative button React component/Scrivito widget for the Scrivito CMS.

Screenshot

Screenshot

Installation

Open your terminal.

$ cd to your Scrivito project

$ npm install scrivito-adv-button

Import the widget in your javascript src/Widgets/index.js.

Add this line to your index.js:

import "scrivito-adv-button";

Also add the styling of the widget to your app. This can be done by either loading it via css-loader (e.g. in index.js or Widgets/index.js):

import "scrivito-adv-button/index.css";

Or by including the styling to your style sheets (e.g. in index.scss):

@import "~scrivito-adv-button/index.css";

Features

The Scrivito Advanced Button Widget renders a button, with optional rounded borders and the option to set an anchor for the link. Works best in conjunction with our Headchor Widget, where you can store an anchor ID. The Headchor Widget is part of this package and is accessible in your Scrivito App automatically after you've installed this package.

Widget properties

In the widget properties you can set:

  • Link target - must start with a #, if the target is an anchor on the same page.
  • Alignment
  • Background color
  • Rounded corners

Keywords

FAQs

Last updated on 01 Jul 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc