Welcome to KoliBri
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
> "The accessible HTML standard"
KoliBri is **not a design system** in the traditional sense. Rather, we extend the HTML5 standard with self-contained, accessible Web Components — new HTML elements that work independently from any design or branding. These atomic components form a foundation that any design library, framework, or style guide can reuse and theme according to their needs.
**KoliBri** stands for "component library for accessibility" and was released as
open source by the
Informationstechnikzentrum Bund (ITZBund) for reuse and
continued development.
Vision
Together we make **HTML** accessible using **reusable web components** to ensure **usability** and **accessibility**.
Mission
The HTML web standard is itself very “openly” specified in order to be as long-lasting and robust as possible. It therefore often happens that HTML compositions are not easily accessible, semantic and valid.
KoliBri is based directly on the Web standards of the W3C (framework-agnostic), and is generic Reference implementation of the WCAG standard and the BITV for accessibility and implemented as a multi-theming capable presentation layer. There is no technical reference and no data transfer functionality. This means that KoliBri is equally reusable for the realization of static websites as well as dynamic web applications with different corporate designs and style guides and is therefore very interesting for open source.
Roadmap
KoliBri is always actively working on improvements, new features and future-oriented innovations for the latest major release. In parallel, a selected LTS release is maintained with regard to bug fixes.
| Version | Release type | Release | Period | End-of-Support |
| ------: | :----------: | :------: | :----: | :------------: |
| 0.x | Initial | Jul 2020 | - | Dec 2021 |
| 1.x | LTS | Dec 2021 | 3y | Dec 2024 |
| 2.x | LTS | Dec 2023 | 3y | Dec 2026 |
| 3.x | STS | Dec 2024 | 15m | Mar 2026 |
| 4.x | LTS | Dec 2025 | 3y | Dec 2028 |
| 5.x | STS | Dec 2026 | 15m | Mar 2028 |
Installation
Install the packages with pnpm:
Run the build once to generate the components:
For working on the monorepo itself, see the daily workflow.
Quick start
Install the default theme and register the components:
Avoid CSS Custom Property Collisions
KoliBri themes expose a few CSS custom properties so consumers can adapt the look and feel.
Because these properties remain global—even inside a Shadow DOM—using too many of them can
clash with variables defined on the host page.
Use namespaced custom properties only for values that must be overridden from the outside.
For internal calculations rely on SASS variables instead of additional CSS properties.
This keeps components robust and prevents unexpected style leaks.
Collaboration and cooperation
The **focus** of KoliBri is on **small** (atomic), very **flexible** and highly **reusable** HTML compositions (e.g. buttons). We offer an accessible, semantic and valid standard implementation of such components that can be reused for any higher-level HTML structure or component (molecule, organism or template).