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