Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
@itwin/itwinui-css
Advanced tools
CSS (Sass/SCSS) library for building beautiful and well working web UI components within Bentley Systems & iTwin.js applications.
An open-source design system that helps us build a unified web experience.
Key features • Install • Use • Contributing
The iTwinUI package is a CSS (Sass/SCSS) library for building beautiful and well working web UI components with support for multiple color themes within Bentley Systems & iTwin.js applications.
The goal of this project is to transform UX design specifications into flexible and usable style for Bentley web applications. This is accomplished by developing the style using Sass (.scss) and providing end users with that Sass, as well as CSS. This provides great flexibility to the end user and more readily enables adoption of the iTwinUI standards.
npm install @itwin/itwinui-css
yarn add @itwin/itwinui-css
You need to add iui-body
class to your <body>
element in order to get recommended stylings.
@import '@itwin/itwinui-css/scss/variables';
.my-class {
padding: $iui-m;
@include themed {
color: t(iui-text-color);
}
}
Note: We highly recommend using post-processing tools for CSS (like postcss and autoprefixer) to add vendors' prefixes as we are not doing that manually in SCSS.
@import '@itwin/itwinui-css/css/global';
Are you interested in helping iTwinUI grow and expand? You can submit feature requests or bugs by creating issues. Please read our CONTRIBUTING.md for more information.
Read our CHANGELOG.md to find recent changes.
FAQs
CSS library for building beautiful and well working web UI components within Bentley Systems & iTwin.js applications.
The npm package @itwin/itwinui-css receives a total of 3,634 weekly downloads. As such, @itwin/itwinui-css popularity was classified as popular.
We found that @itwin/itwinui-css demonstrated a healthy version release cadence and project activity because the last version was released less than 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
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.