Shared UI Component Library
Reusable UI components available across the Gauzy webapp.
Core Componentsβ
Avatar Componentβ
<ga-avatar [src]="user.imageUrl" [name]="user.name" [size]="40"></ga-avatar>
Status Badgeβ
<ga-status-badge [status]="task.status" [type]="'task'"></ga-status-badge>
Date Pickerβ
<ga-date-range-picker
[start]="startDate"
[end]="endDate"
(dateChange)="onDateChange($event)"
>
</ga-date-range-picker>
Confirmation Dialogβ
this.dialogService
.open(ConfirmComponent, {
context: {
title: "Delete Task",
message: "Are you sure you want to delete this task?",
},
})
.onClose.subscribe((confirmed) => {
if (confirmed) this.deleteTask();
});
Tags Inputβ
<ga-tags-input
[tags]="selectedTags"
[availableTags]="allTags"
(tagsChange)="onTagsChange($event)"
>
</ga-tags-input>
Layout Componentsβ
| Component | Description |
|---|---|
PageHeader | Page title with breadcrumbs |
EmptyState | No-data placeholder |
LoadingSpinner | Loading indicator |
Sidebar | Collapsible sidebar |
ActionBar | Top action buttons bar |
Form Componentsβ
| Component | Description |
|---|---|
SelectEmployee | Employee picker dropdown |
SelectProject | Project picker |
SelectOrg | Organization selector |
CurrencyInput | Amount + currency input |
RichTextEditor | Quill-based rich text |
Related Pagesβ
- UI Components β component overview
- Theming β theme customization
- Angular Module Architecture β module setup