Elements

screenshot of Elements
angular
react
vue

Web Components, based on DB UI Core, part of DB UX Design System Version 2.

Overview

DB UI Elements presents an innovative library that focuses on delivering style-compliant UI components specifically designed for Deutsche Bahn web frontends. As part of the new stable release of the DB UX Design System v3, this tool promises not only a seamless integration with various frameworks but also an emphasis on accessibility and ongoing user support until 2026. With Web Components at its core, DB UI Elements bridges the gap between corporate design standards and custom application needs, making it a versatile choice for developers.

Whether you're building new projects or enhancing existing ones, DB UI Elements stands out for its flexibility and adherence to Deutsche Bahn's UI/UX guidelines. The library's commitment to accessibility and multi-tenancy support makes it especially appealing for teams looking to craft user-friendly and compliant interfaces.

Features

  • Framework Agnostic: Built on native Web Standards, DB UI Elements can be integrated into any web framework including Angular, React, and Vue, or used without one.

  • Accessibility Focus: The library is crafted keeping accessibility in mind, ensuring that your web applications are usable by everyone.

  • Multi-Tenant Support: Allows different styles to be applied for varying tenants, enabling customization and flexibility in style management.

  • Lightweight: Using StencilJS for implementation, DB UI Elements minimizes overhead while delivering efficient web components.

  • Open Source: Released under the Apache 2.0 license, the components are free to use and community-driven, encouraging contributions from users.

  • Compliant with Guidelines: Strict adherence to Deutsche Bahn's UI/UX standards, ensuring consistency across applications that want to maintain a corporate look and feel.

  • Future-Proof Development: While no new features will be added until the end of 2026, ongoing bug fixes and support will continue, allowing developers to rely on the stability of the library.

angular
Angular

Angular is a TypeScript-based open-source framework by Google for building dynamic single-page applications and cross-platform mobile apps with MVC architecture and a rich set of features.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

Stylelint

Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.