# LabelGroupArgs

Interface · extends [`ContainerArgs`](https://api.playcanvas.com/pcui/interfaces/ContainerArgs.md)

Source: https://github.com/playcanvas/pcui/blob/77ed2b8ba8660c9644049b0d1942652721e7a6c4/src/components/LabelGroup/index.ts#L12

The arguments for the [LabelGroup](https://api.playcanvas.com/pcui/classes/LabelGroup.md) constructor.

## Properties

### field

```ts
field?: Element
```

The [Element](https://api.playcanvas.com/pcui/classes/Element.md) to be wrapped by the label group.

### labelAlignTop

```ts
labelAlignTop?: boolean
```

Whether to align the label at the top of the group. Defaults to `false` which aligns it at the center.

### nativeTooltip

```ts
nativeTooltip?: boolean
```

Add a native tooltip to the label.

### text

```ts
text?: string
```

The label text. Defaults to 'Label'.

## Inherited from [ContainerArgs](https://api.playcanvas.com/pcui/interfaces/ContainerArgs.md)

- `alignItems?: string`
- `alignSelf?: string`
- `binding?: BindingBase`
- `children?: ReactNode`
- `class?: string | string[]`
- `dom?: string | HTMLElement`
- `enabled?: boolean`
- `error?: boolean`
- `flex?: boolean`
- `flexBasis?: string | number`
- `flexDirection?: string`
- `flexGrow?: string | number`
- `flexShrink?: string | number`
- `flexWrap?: string`
- `grid?: boolean`
- `height?: number`
- `hidden?: boolean`
- `id?: string`
- `ignoreParent?: boolean`
- `isRoot?: boolean`
- `justifyContent?: string`
- `justifySelf?: string`
- `link?: { observer: Observer | Observer[]; path: string | string[] }`
- `onChange?: (value: unknown) => void`
- `onClick?: () => void`
- `onRemove?: () => void`
- `onResize?: () => void`
- `parent?: Element`
- `readOnly?: boolean`
- `resizable?: string`
- `resizeMax?: number`
- `resizeMin?: number`
- `scrollable?: boolean`
- `style?: string`
- `tabIndex?: number`
- `width?: number`
