JSPM

  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q35079F
  • License MIT

Container element to group and highlight content

Package Exports

  • @vcl/panel

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vcl/panel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

VCL panel

Container element to group and highlight content.

Features

A panel consisting a body, header and footer. All elements are optional. The panel body may for example hold textual content, tables, dividers etc.

There are two variants, a dialog variant optimized for modal dialogs and a card variant with a card like visual appearance.

Usage

The content of the body can be wrapped in a panel content (vclPanelContent) which adds padding.

basic example

A Panel with text and a table as content.

table example

Dialog variant.

panel example

Card variant.

card example

Classes

  • vclPanel
  • vclPanelHeader
  • vclPanelHeading
  • vclPanelTitle
  • vclPanelBody
  • vclPanelContent
  • vclPanelFooter

Modifiers

  • vclPanelCard
  • vclPanelDialog

Semantic coloring:

  • vclDanger

Variables

  • --panel-bg-color
  • --panel-hf-line-height
  • --panel-border-color
  • --panel-header-color
  • --panel-header-bg-color
  • --panel-footer-color
  • --panel-footer-bg-color
  • --panel-border-radius--card

Demo

example.html on GH-pages.