
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@db-ui/web-components
Advanced tools
A web-component library containing all components of DB UX Design System (technical components).
npm i @db-ui/web-components
Note: This will install
@db-ui/foundations
and@db-ui/components
as well which contains thecss
/scss
files
Import the styles in scss or css. Based on your technology the file names could be different.
../assets
@db-ui/foundations/assets
~@db-ui/foundations/assets
// index.scss
@forward "@db-ui/components/build/styles/rollup";
// main.js
import "@db-ui/components/build/styles/rollup.css";
Note: The
@db-ui/components/build/styles/relative
file contains optional and all components styles. If you consider performance issues see @db-ui/components for more information.
// main.js
import { defineCustomElements } from "@db-ui/web-components";
defineCustomElements();
...
<db-button icon="x_placeholder">Test</db-button>
...
If you don't have it already, add a VS Code settings folder and file at the root of your project - .vscode/settings.json
. Then add or append the following code:
{
"html.customData": [
"./node_modules/@db-ui/web-components/dist/vscode.html-custom-data.json"
]
}
As we'd like to perfectly support our users and customers on their digital journey, the usage of Deutsche Bahn brand and trademarks are bound of clear guidelines and restrictions even when being used with the code that we're provide with this product; Deutsche Bahn fully reserves all rights regarding the Deutsche Bahn brand, even though that we're providing the code of DB UI products free to use and release it under the Apache 2.0 license. Please have a look at our brand portal at https://marketingportal.extranet.deutschebahn.com/ for any further questions and whom to contact on any brand issues.
You must remove or replace any Deutsche Bahn brand and design assets as well as protected characteristics and trademarks. We're even also planning to provide a neutral theme that would make it much easier for you to use our product without the trademarks by Deutsche Bahn.
Contributions are very welcome, please refer to the contribution guide.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone – have a look at our Contributor Covenant Code of Conduct.
This project is licensed under Apache-2.0.
FAQs
Stencil components for @db-ui/components
We found that @db-ui/web-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.