Accessory
Displays a slotted icon or image component as a leading or trailing accessory within other components, such as a row or text field. The content security policy for images should be applied. For more information, see Content security policy.
Component render
<Accessory size="icon">
<img src="https://via.placeholder.com/40x40.png" />
</Accessory>
Properties
Property | Type | Description |
---|---|---|
size | icon image | The desired size for the leading or trailing accessory, which should be either an icon or image component. Available sizes are icon (24x24) and image (40x40). |