New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@vcl/divider

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vcl/divider

Horizontally or vertically aligned divider to segment content

latest
Source
npmnpm
Version
0.6.3
Version published
Maintainers
4
Created
Source

VCL divider

Horizontally or vertically aligned divider to segment content.

Features

The divider may have a label to describe the following content or the reason for the segmentation. This label is typically an icogram but also other components such as a button may be used. It's also possible to have multiple labels.

The divider can also be used in combination with an h[1-6] element with the vclDividerHeading class.

Usage

The divider may carry an icogram and other components. Positioning of the divider and its labels is done with the flex-layout module.

basic examples

The HTML native horizontal rule (hr element) is basically the same but very hard to tame in terms of styling.

hr example

The divider can also be divide vertically.

vertical examples

The vertically aligned variant requires the height to be set explicitly on the vclDivider element.

Classes

  • vclDivider
  • vclDividerHeading
  • vclDividerElement: Container class for elements of a divider like a label.

Modifiers

For vclDivider

  • vclDividerHorizontal: Required when a label is used and horizontally aligned.
  • vclDividerVertical: Required when a label is used and vertically aligned.
  • vclDividerHeading: Required when the divider is also a heading. Disables the text-transformation to uppercase.

For vclDividerElement

  • vclDividerBeginElement: Left bound element in horizontal layout.
  • vclDividerEndElement: Right bound element in horizontal layout.

Variables

  • --divider-color
  • --divider-border-color
  • --divider-fill-color

Demo

example.html on GH-pages.

Keywords

css

FAQs

Package last updated on 18 Nov 2019

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