# EuiFieldsetComponent

**Type:** component



Fieldset component that provides a grouped container with optional expand/collapse functionality
and customizable label content.


**Selector:** `eui-fieldset`

## Inputs
- **e2eAttr**: `string` - Element attribute for e2e testing
- **hasDefaultIcon**: `boolean` - Whether to show the default icon
- **iconClass**: `string` - CSS class for the icon
- **iconSvgFillColor**: `string` - Fill color for the SVG icon
- **iconSvgName**: `string` - Name of the SVG icon to display
- **id**: `string` - Unique identifier for the fieldset
- **isExpandable**: `boolean` - Whether the fieldset can be expanded/collapsed
- **isExpanded**: `boolean` - Whether the fieldset is currently expanded
- **isFirst**: `boolean` - Whether this is the first fieldset in a group
- **isLarge**: `boolean` - Whether to use large size styling
- **label**: `string` - Label text displayed in the fieldset header
- **euiPrimary**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiSecondary**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiSuccess**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiInfo**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiWarning**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiDanger**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiAccent**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiVariant**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiHighlighted**: `any` - From host directive: #[[file:BaseStatesDirective.md]]

## Outputs
- **expand**: `EventEmitter<string>` - Event emitted when the fieldset is expanded or collapsed
