Skip to main content

Interface: IconProperties

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

Icon-related properties for components that support icon rendering.

Remarksโ€‹

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

Extended byโ€‹

Propertiesโ€‹

icon?โ€‹

readonly optional icon: ReactNode

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

Icon element to display


iconColor?โ€‹

readonly optional iconColor: string

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

Color theme for the icon


iconOnly?โ€‹

readonly optional iconOnly: boolean

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

Whether to show only the icon (hide text content)


iconPosition?โ€‹

readonly optional iconPosition: "left" | "right"

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

Position of the icon relative to content