Icon api
NbIconComponent
Inputs
| Name | Type | Description |
| icon | string | Icon name |
| options | Additional icon settings | |
| pack | string | Icon pack name |
| status | NbComponentOrCustomStatus | Icon status (adds specific styles):
|
NbIconLibraries
Methods
| Name | Description |
| getFontIcon() | parameters: name: returns:string, pack: stringNbIconDefinition
Returns Font icon |
| getIcon() | parameters: name: returns:string, pack: stringReturns an icon |
| getPack() | parameters: name: returns:stringNbIconPackReturns pack by name |
| getSvgIcon() | parameters: name: returns:string, pack: stringReturns Svg icon |
| registerFontPack() | parameters: name: returns:string, params:
voidRegisters new font pack |
| registerSvgPack() | parameters: name: returns:string, icons: NbIcons, params:
voidRegisters new Svg icon pack |
| setDefaultPack() | parameters: name: returns:stringvoidSets pack as a default |
Previous page
Spinner
Next page
Need some help or found an issue?
Ask on Stack Overflow with tag `nebular` or post an issue on GitHub.
