Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@bolt/components-action-blocks
Advanced tools
Stylistic block layout for displaying actionable icon and text. Part of the Bolt “Components” CSS framework that powers the Bolt Design System.
<bolt-action-blocks bolt-component>
<ul class="c-bolt-action-blocks c-bolt-action-blocks--item-max-6 c-bolt-action-blocks--vertical-align-start c-bolt-action-blocks--bordered">
<li class="c-bolt-action-blocks__item">
<bolt-action-block bolt-component>
<a href="http://google.com" class="c-bolt-action-block">
<div class="c-bolt-action-block__item">
<bolt-icon name="download" background="circle" size="large"></bolt-icon>
</div>
<div class="c-bolt-action-block__item">
Item 1, Proin Quis Tortor Orci Etiam At Risus Et Justo Dignissim.
</div>
</a>
</bolt-action-block>
</li>
</ul>
</bolt-action-blocks>
npm install @bolt/action-blocks
The best way to start using Bolt is via the Bolt Starterkit (coming soon), a pre-assembled front-end boilerplate designed to get you up and running as quickly as possible.
You can also use the full Bolt Core CSS framework on its own, or, install just the parts you need and fold the different ITCSS layers of Bolt into your existing codebase.
Installing Bolt’s Action Blocks component is as easy as running NPM install:
npm install @bolt/action-blocks
TIP:: Don’t have a
package.json
file? Need a little help getting started? Check out our Getting Started guide for some tips to help get you up to speed.
Once installed, you should @import
the main Sass partial into your project’s main .scss
file to make the included variables available to the rest of your code.
// Settings
@import '@bolt/settings-global';
@import '@bolt/settings-spacing';
@import '@bolt/settings-colors';
@import '@bolt/settings-font-size';
@import '@bolt/settings-font-weight';
// Tools
@import '@bolt/tools-font-size';
@import '@bolt/tools-font-weight';
@import '@bolt/tools-spacing';
@import '@bolt/tools-color-palette';
Since Bolt’s CSS architecture is based on ITCSS (Inverted Triangle CSS)1, what Sass partials you import, and in what order, makes a whole world of difference. That’s why importing any Settings packages from Bolt in your project’s Settings layer (prior to any Sass mixins, resets, base HTML element styles, etc) is so important.
We recommend using Bolt’s Gulp-based front-end build tools to compile your Sass as we’re pre-packaging many of the latest tools and add-ons to help you write your very best: LibSass, Autoprefixer, PostCSS, CleanCSS, Sassdoc, Stylelint, Gulp Plumber, npm-sass, and BrowserSync live reloading.
FAQs
A grid layout of actions consist of icon and text.
The npm package @bolt/components-action-blocks receives a total of 3 weekly downloads. As such, @bolt/components-action-blocks popularity was classified as not popular.
We found that @bolt/components-action-blocks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.