Skip to main content

Interface: IconProperties

Defined in: shared/types/componentProps.ts:190

Icon-related properties for components that support icon rendering.

Remarksโ€‹

These props provide consistent icon integration patterns across components that support icon display.

Hierarchyโ€‹

View Summary

Extended byโ€‹

Propertiesโ€‹

icon?โ€‹

readonly optional icon?: ReactNode

Defined in: shared/types/componentProps.ts:192

Icon element to display


iconColor?โ€‹

readonly optional iconColor?: string

Defined in: shared/types/componentProps.ts:194

Color theme for the icon


iconOnly?โ€‹

readonly optional iconOnly?: boolean

Defined in: shared/types/componentProps.ts:196

Whether to show only the icon (hide text content)


iconPosition?โ€‹

readonly optional iconPosition?: "left" | "right"

Defined in: shared/types/componentProps.ts:198

Position of the icon relative to content