This package has been deprecated

Author message:

https://github.com/springernature/frontend-toolkits/blob/master/DEPRECATED.md

@springernature/global-box

3.0.0 • Public • Published

THIS IS AN EXAMPLE, NOT FOR PRODUCTION USE

CSS box component

Simple box component. Import each scss file into the respective level in your application.

To brand this component either totally replace the settings level in your app, or include your own settings file before this one if you want to keep some of the defaults.

Examples

HTML

<!-- standard box -->
<div class="c-box">box content</div>

<!-- circular box -->
<div class="c-box c-box--circle">box content</div>

Handlebars

<!-- standard box -->
{{#> box }}
    Add content here
    Can even be another partial
{{/box}}

<!-- circular box -->
{{#> circle }}
    Add content here
    Can even be another partial
{{/circle}}

@mixin

// Standard box
.class-name {
    @include global-box;
}

// Circular box
.class-name {
    @include global-box;
    @include global-box--circle;
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @springernature/global-box

      Weekly Downloads

      2

      Version

      3.0.0

      License

      MIT

      Unpacked Size

      2.5 kB

      Total Files

      8

      Last publish

      Collaborators

      • ndv3997
      • sndigital
      • rseidelsohn
      • testingsabrina
      • roshandeorukhkar-sn
      • benjclark
      • sonniesedge
      • rlau
      • dotcode
      • joseluisbolos
      • hollsk
      • moddular
      • jpw
      • nickcall
      • howlingmad
      • davidpauljunior
      • morgaan