# Angulux — full API > Angulux is an Angular 22 UI component library, forked from the last MIT release of PrimeNG (21.1.9). Selectors are `agl-*` and entry points are `@anguless/angulux/` — code written against PrimeNG's `p-*` selectors will not work. This index covers 64 supported modules, 165 components and directives, 1205 inputs, of which 69 are deprecated. Every page is generated from the library's own source, so an input absent here does not exist. # api ```ts import { … } from '@anguless/angulux/api'; ``` This module declares no component or directive. It is internal infrastructure that other modules depend on, and there is nothing here to use directly. # autofocus ```ts import { … } from '@anguless/angulux/autofocus'; ``` ## AutoFocus `[aglAutoFocus]` — directive AutoFocus manages focus on focusable element on load. | Input | Type | Default | Description | | --- | --- | --- | --- | | `autofocus` | `boolean` | _not documented_ | When present, it specifies that the component should automatically get focus on load. | # avatar ```ts import { … } from '@anguless/angulux/avatar'; ``` ## Avatar `agl-avatar` — component Avatar represents people using icons, labels and images. | Input | Type | Default | Description | | --- | --- | --- | --- | | `label` | `string \| undefined` | _not documented_ | Defines the text to display. | | `icon` | `string \| undefined` | _not documented_ | Defines the icon to display. | | `image` | `string \| undefined` | _not documented_ | Defines the image to display. | | `size` | `'normal' \| 'large' \| 'xlarge' \| undefined` | _not documented_ | Size of the element. | | `shape` | `'square' \| 'circle' \| undefined` | _not documented_ | Shape of the element. | | `styleClass` | `string \| undefined` | _not documented_ | Class of the element. **Deprecated:** since v20.0.0, use `class` instead. | | `ariaLabel` | `string \| undefined` | _not documented_ | Establishes a string value that labels the component. | | `ariaLabelledBy` | `string \| undefined` | _not documented_ | Establishes relationships between the component and label(s) where its value should be one or more element IDs. | | Output | Type | Description | | --- | --- | --- | | `onImageError` | `EventEmitter` | This event is triggered if an error occurs while loading an image file. | # avatargroup ```ts import { … } from '@anguless/angulux/avatargroup'; ``` ## AvatarGroup `agl-avatarGroup, agl-avatar-group, agl-avatargroup` — component AvatarGroup is a helper component for Avatar. | Input | Type | Default | Description | | --- | --- | --- | --- | | `styleClass` | `string \| undefined` | _not documented_ | Style class of the component | | `style` | `{ [klass: string]: any } \| null \| undefined` | _not documented_ | Inline style of the component. | # badge ```ts import { … } from '@anguless/angulux/badge'; ``` ## BadgeDirective `[aglBadge]` — directive Badge Directive is directive usage of badge component. | Input | Type | Default | Description | | --- | --- | --- | --- | | `ptBadgeDirective` | `BadgePassThrough \| undefined` | `undefined` | Used to pass attributes to DOM elements inside the Badge component. **Deprecated:** use pBadgePT instead. | | `pBadgePT` | `BadgePassThrough \| undefined` | `undefined` | Used to pass attributes to DOM elements inside the Badge component. | | `pBadgeUnstyled` | `boolean \| undefined` | `undefined` | Indicates whether the component should be rendered without styles. | | `disabled` | `boolean` | _not documented_ | When specified, disables the component. | | `badgeSize` | `'large' \| 'xlarge' \| 'small' \| null \| undefined` | _not documented_ | Size of the badge, valid options are "large" and "xlarge". | | `size` | `` | _not documented_ | Size of the badge, valid options are "large" and "xlarge". **Deprecated:** use badgeSize instead. | | `severity` | `'secondary' \| 'info' \| 'success' \| 'warn' \| 'danger' \| 'contrast' \| null \| undefined` | _not documented_ | Severity type of the badge. | | `value` | `string \| number` | _not documented_ | Value to display inside the badge. | | `badgeStyle` | `{ [klass: string]: any } \| null \| undefined` | _not documented_ | Inline style of the element. | | `badgeStyleClass` | `string` | _not documented_ | Class of the element. | ## Badge `agl-badge` — component Badge is a small status indicator for another element. | Input | Type | Default | Description | | --- | --- | --- | --- | | `styleClass` | `string` | _not documented_ | Class of the element. **Deprecated:** since v20.0.0, use `class` instead. | | `badgeSize` | `'small' \| 'large' \| 'xlarge' \| null` | _not documented_ | Size of the badge, valid options are "large" and "xlarge". | | `size` | `'small' \| 'large' \| 'xlarge' \| null` | _not documented_ | Size of the badge, valid options are "large" and "xlarge". | | `severity` | `'secondary' \| 'info' \| 'success' \| 'warn' \| 'danger' \| 'contrast' \| null` | _not documented_ | Severity type of the badge. | | `value` | `string \| number \| null` | _not documented_ | Value to display inside the badge. | | `badgeDisabled` | `boolean` | _not documented_ | When specified, disables the component. | # base ```ts import { … } from '@anguless/angulux/base'; ``` This module declares no component or directive. It is internal infrastructure that other modules depend on, and there is nothing here to use directly. # basecomponent ```ts import { … } from '@anguless/angulux/basecomponent'; ``` ## BaseComponent `` — directive | Input | Type | Default | Description | | --- | --- | --- | --- | | `dt` | `Object \| undefined` | `undefined` | Defines scoped design tokens of the component. | | `unstyled` | `boolean \| undefined` | `undefined` | Indicates whether the component should be rendered without styles. | | `pt` | `PT \| undefined` | `undefined` | Used to pass attributes to DOM elements inside the component. | | `ptOptions` | `PassThroughOptions \| undefined` | `undefined` | Used to configure passthrough(pt) options of the component. | # baseeditableholder ```ts import { … } from '@anguless/angulux/baseeditableholder'; ``` ## BaseEditableHolder `` — directive | Input | Type | Default | Description | | --- | --- | --- | --- | | `required` | `` | `false` | There must be a value (if set). | | `invalid` | `` | `false` | When present, it specifies that the component should have invalid state style. | | `disabled` | `` | `false` | When present, it specifies that the component should have disabled state style. | | `name` | `string \| undefined` | `undefined` | When present, it specifies that the name of the input. | # baseinput ```ts import { … } from '@anguless/angulux/baseinput'; ``` ## BaseInput `` — directive | Input | Type | Default | Description | | --- | --- | --- | --- | | `fluid` | `` | `false` | Spans 100% width of the container when enabled. | | `variant` | `'filled' \| 'outlined' \| undefined` | `'outlined'` | Specifies the input variant of the component. | | `size` | `'large' \| 'small' \| undefined` | `undefined` | Specifies the size of the component. | | `inputSize` | `number \| null \| undefined` | `undefined` | Specifies the visible width of the input element in characters. | | `pattern` | `string \| null \| undefined` | `undefined` | Specifies the value must match the pattern. | | `min` | `number \| null \| undefined` | `undefined` | The value must be greater than or equal to the value. | | `max` | `number \| null \| undefined` | `undefined` | The value must be less than or equal to the value. | | `step` | `number \| null \| undefined` | `undefined` | Unless the step is set to the any literal, the value must be min + an integral multiple of the step. | | `minlength` | `number \| null \| undefined` | `undefined` | The number of characters (code points) must not be less than the value of the attribute, if non-empty. | | `maxlength` | `number \| null \| undefined` | `undefined` | The number of characters (code points) must not exceed the value of the attribute. | # basemodelholder ```ts import { … } from '@anguless/angulux/basemodelholder'; ``` ## BaseModelHolder `` — directive # bind ```ts import { … } from '@anguless/angulux/bind'; ``` ## Bind `[aglBind]` — directive Bind directive provides dynamic attribute, property, and event listener binding functionality. | Input | Type | Default | Description | | --- | --- | --- | --- | | `aglBind` | `{ [key: string]: any } \| undefined` | _not documented_ | Dynamic attributes, properties, and event listeners to be applied to the host element. | # button ```ts import { … } from '@anguless/angulux/button'; ``` ## ButtonLabel `[aglButtonLabel]` — directive | Input | Type | Default | Description | | --- | --- | --- | --- | | `ptButtonLabel` | `any` | `undefined` | Used to pass attributes to DOM elements inside the aglButtonLabel. **Deprecated:** use pButtonLabelPT instead. | | `pButtonLabelPT` | `any` | `undefined` | Used to pass attributes to DOM elements inside the aglButtonLabel. | | `pButtonLabelUnstyled` | `boolean \| undefined` | `undefined` | Indicates whether the component should be rendered without styles. | ## ButtonIcon `[aglButtonIcon]` — directive | Input | Type | Default | Description | | --- | --- | --- | --- | | `ptButtonIcon` | `any` | `undefined` | Used to pass attributes to DOM elements inside the aglButtonIcon. **Deprecated:** use pButtonIconPT instead. | | `pButtonIconPT` | `any` | `undefined` | Used to pass attributes to DOM elements inside the aglButtonIcon. | | `pButtonUnstyled` | `boolean \| undefined` | `undefined` | Indicates whether the component should be rendered without styles. | ## ButtonDirective `[aglButton]` — directive Button directive is an extension to button component. | Input | Type | Default | Description | | --- | --- | --- | --- | | `ptButtonDirective` | `ButtonPassThrough` | `undefined` | Used to pass attributes to DOM elements inside the Button component. **Deprecated:** use pButtonPT instead. | | `pButtonPT` | `ButtonPassThrough` | `undefined` | Used to pass attributes to DOM elements inside the Button component. | | `pButtonUnstyled` | `boolean \| undefined` | `undefined` | Indicates whether the component should be rendered without styles. | | `hostName` | `any` | _not documented_ | | | `text` | `boolean` | _not documented_ | Add a textual class to the button without a background initially. | | `plain` | `boolean` | _not documented_ | Add a plain textual class to the button without a background initially. | | `raised` | `boolean` | _not documented_ | Add a shadow to indicate elevation. | | `size` | `'small' \| 'large' \| undefined` | _not documented_ | Defines the size of the button. | | `outlined` | `boolean` | _not documented_ | Add a border class without a background initially. | | `rounded` | `boolean` | _not documented_ | Add a circular border radius to the button. | | `iconPos` | `ButtonIconPosition` | _not documented_ | Position of the icon. | | `loadingIcon` | `string \| undefined` | _not documented_ | Icon to display in loading state. | | `fluid` | `` | `undefined` | Spans 100% width of the container when enabled. | | `label` | `string \| undefined` | _not documented_ | Text of the button. **Deprecated:** use aglButtonLabel directive instead. | | `icon` | `string` | _not documented_ | Name of the icon. **Deprecated:** use aglButtonIcon directive instead | | `loading` | `boolean` | _not documented_ | Whether the button is in loading state. | | `buttonProps` | `ButtonProps` | _not documented_ | Used to pass all properties of the ButtonProps to the Button component. **Deprecated:** assign props directly to the button element. | | `severity` | `ButtonSeverity` | _not documented_ | Defines the style of the button. | ## Button `agl-button` — component Button is an extension to standard button element with icons and theming. | Input | Type | Default | Description | | --- | --- | --- | --- | | `hostName` | `any` | _not documented_ | | | `type` | `string` | _not documented_ | Type of the button. | | `badge` | `string \| undefined` | _not documented_ | Value of the badge. | | `disabled` | `boolean \| undefined` | _not documented_ | When present, it specifies that the component should be disabled. | | `raised` | `boolean` | _not documented_ | Add a shadow to indicate elevation. | | `rounded` | `boolean` | _not documented_ | Add a circular border radius to the button. | | `text` | `boolean` | _not documented_ | Add a textual class to the button without a background initially. | | `plain` | `boolean` | _not documented_ | Add a plain textual class to the button without a background initially. | | `outlined` | `boolean` | _not documented_ | Add a border class without a background initially. | | `link` | `boolean` | _not documented_ | Add a link style to the button. | | `tabindex` | `number \| undefined` | _not documented_ | Add a tabindex to the button. | | `size` | `'small' \| 'large' \| undefined` | _not documented_ | Defines the size of the button. | | `variant` | `'outlined' \| 'text' \| undefined` | _not documented_ | Specifies the variant of the component. | | `style` | `{ [klass: string]: any } \| null \| undefined` | _not documented_ | Inline style of the element. | | `styleClass` | `string \| undefined` | _not documented_ | Class of the element. | | `badgeClass` | `string \| undefined` | _not documented_ | Style class of the badge. **Deprecated:** use badgeSeverity instead. | | `badgeSeverity` | `'success' \| 'info' \| 'warn' \| 'danger' \| 'help' \| 'primary' \| 'secondary' \| 'contrast' \| null \| undefined` | `secondary` | Severity type of the badge. | | `ariaLabel` | `string \| undefined` | _not documented_ | Used to define a string that autocomplete attribute the current element. | | `autofocus` | `boolean \| undefined` | _not documented_ | When present, it specifies that the component should automatically get focus on load. | | `iconPos` | `ButtonIconPosition` | _not documented_ | Position of the icon. | | `icon` | `string \| undefined` | _not documented_ | Name of the icon. | | `label` | `string \| undefined` | _not documented_ | Text of the button. | | `loading` | `boolean` | _not documented_ | Whether the button is in loading state. | | `loadingIcon` | `string \| undefined` | _not documented_ | Icon to display in loading state. | | `severity` | `ButtonSeverity` | _not documented_ | Defines the style of the button. | | `buttonProps` | `ButtonProps` | _not documented_ | Used to pass all properties of the ButtonProps to the Button component. | | `fluid` | `` | `undefined` | Spans 100% width of the container when enabled. | | Output | Type | Description | | --- | --- | --- | | `onClick` | `EventEmitter` | Callback to execute when button is clicked. This event is intended to be used with the component. Using a regular