![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@nib-styles/v2-icons
Advanced tools
Icon font for nib.
<i class="v2-icon v2-icon--small v2-icon--lightgrey v2-icon--calendar"></i>
See the pattern library for a full list of available icons.
*.svg
-circle
-inverse
Add your *.svg
to the icons/
directory
Install the nodejs modules required for building:
npm install
Run the build script:
gulp
The above rules were chosen in order to meet the following use cases:
Where the center of an icon should be in line with the center of some text e.g. an icon in a button. For this to look good icons must be vertically centered or make use of the full height.
Where a number of icons are aligned to the top or bottom of a container e.g. a feature panel. For this to look good icons must all be the same height (preferably make use of the full height).
Where a number of icons are aligned to the left or right of a container. For this to look good icons must be horizontally centered or make use of the full width.
FAQs
Icon font for nib.
The npm package @nib-styles/v2-icons receives a total of 0 weekly downloads. As such, @nib-styles/v2-icons popularity was classified as not popular.
We found that @nib-styles/v2-icons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 66 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.