@kern-ux-annex/kern-angular-kit
Version:
Angular-Umsetzung der KERN UX-Standard Komponenten
108 lines (75 loc) ⢠3.26 kB
Markdown
# @kern-ux-annex/kern-angular-kit
[](https://www.npmjs.com/package/@kern-ux-annex/kern-angular-kit)
[](https://gitlab.opencode.de/kern-ux/community/angular-kit/-/blob/main/LICENSE.md)
[](https://www.typescriptlang.org/)
[](https://angular.io/)
Angular component library implementing the KERN Design System. This library provides a comprehensive set of accessible, reusable UI components following the KERN UX standards.
## š Features
- **šØ KERN Design System** - Complete implementation of KERN UX components
- **š± Modern Angular** - Built with Angular 20.2+ using signal APIs
- **āæ Accessibility First** - WCAG 2.1 AA compliant components
- **š Form Integration** - Full Angular Forms support (Template-driven & Reactive)
- **š§ TypeScript Ready** - Full TypeScript support with comprehensive type definitions
- **š¦ Tree Shakable** - Optimized bundle size with standalone components
- **šÆ Production Ready** - Thoroughly tested and CI/CD integrated
- **š Signal-based** - Modern Angular patterns with InputSignal and OutputEmitterRef
## ā” Quick Start
```bash
npm install @kern-ux-annex/kern-angular-kit
```
### š ļø Usage
#### Import Components
```typescript
// Option 1: Import entire module
import { KernAngularKitModule } from '@kern-ux-annex/kern-angular-kit';
@NgModule({
imports: [KernAngularKitModule]
})
export class AppModule {}
// Option 2: Import individual components (Recommended)
import { KernInputText, KernAlert } from '@kern-ux-annex/kern-angular-kit';
@Component({
imports: [KernInputText, KernAlert],
template: `...`
})
export class MyComponent {}
```
#### Basic Example
```html
<kern-input-text
labelText="Full Name"
hintText="Enter your first and last name"
>
</kern-input-text>
<kern-alert title="Success!" variant="success">
Form submitted successfully!
</kern-alert>
```
## šØ CSS Dependencies
You'll need the KERN UX CSS framework:
```bash
npm install @kern-ux/native
```
Add to your `angular.json` or main CSS file:
```css
@import '@kern-ux/native/dist/kern.min.css';
@import '@kern-ux/native/dist/fonts/fira-sans.css';
```
## š§ Peer Dependencies
The library requires these Angular packages:
- `@angular/core`: ^20.2.3
- `@angular/common`: ^20.2.3
- `@angular/forms`: ^20.2.3
- `@angular/localize`: ^20.2.3
## š Storybook Documentation
Explore all components interactively with our **Storybook documentation**
š **[View Component Storybook](https://angular-kit-ca257b.usercontent.opencode.de/)**
The Storybook includes:
- **šÆ Interactive Examples** - Live component demonstrations with controls
- **š API Documentation** - Complete property and event documentation
- **š§ Usage Examples** - Copy-paste ready code snippets
## š License
EUPL-1.2
## š¤ Contributing
This package is part of the KERN-UX community project. For more information, visit:
[https://gitlab.opencode.de/kern-ux/community/angular-kit](https://gitlab.opencode.de/kern-ux/community/angular-kit)