components / Class

Icon

Decorators:@Component
Selectors:flowbite-icon
Implements:OnDestroy

No documentation has been provided.

Constructor

No documentation has been provided.

Presentation
constructor(
	
): Icon;

Properties

NameTypeDescription
color
r
InputSignal<keyof FlowbiteIconColors>
config
r
FlowbiteIconConfig
customTheme
r
InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; color?: { [x: string]: { light?: string | undefined; dark?: string | undefined; } | undefined; primary?: { light?: string | undefined; dark?: string | undefined; } | undefined; dark?: { light?: string | undefined; dark?: string | undefined; } | undefined; light?: { light?: string | undefined; dark?: string | undefined; } | undefined; blue?: { light?: string | undefined; dark?: string | undefined; } | undefined; cyan?: { light?: string | undefined; dark?: string | undefined; } | undefined; gray?: { light?: string | undefined; dark?: string | undefined; } | undefined; green?: { light?: string | undefined; dark?: string | undefined; } | undefined; indigo?: { light?: string | undefined; dark?: string | undefined; } | undefined; lime?: { light?: string | undefined; dark?: string | undefined; } | undefined; pink?: { light?: string | undefined; dark?: string | undefined; } | undefined; purple?: { light?: string | undefined; dark?: string | undefined; } | undefined; red?: { light?: string | undefined; dark?: string | undefined; } | undefined; teal?: { light?: string | undefined; dark?: string | undefined; } | undefined; yellow?: { light?: string | undefined; dark?: string | undefined; } | undefined; default?: { light?: string | undefined; dark?: string | undefined; } | undefined; info?: { light?: string | undefined; dark?: string | undefined; } | undefined; failure?: { light?: string | undefined; dark?: string | undefined; } | undefined; success?: { light?: string | undefined; dark?: string | undefined; } | undefined; warning?: { light?: string | undefined; dark?: string | undefined; } | undefined; } | undefined; } | undefined; }>
name
r
InputSignal<IconType | undefined>

Define the name of the icon to display

state
p r
CreatedState<Icon>
svg
r
InputSignal<string | undefined>

Define the svg of the icon to display

theme
r
Signal<{ host: { root: string; }; }>

Methods

ngOnDestroy()

implements OnDestroy

No documentation has been provided.

Presentation
ngOnDestroy(): void;
Returns
void
Flowbite Logo Flowbite

© 2019-2025 Flowbite™ is a registered trademark. All Rights Reserved.