mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
* docs(all): possible values are extracted by stencil * add defaults * remove all hardcoded defaults * update stencil
ion-chip-icon
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
color |
color |
The color to use from your application's color palette. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information on colors, see theming. |
string | undefined |
undefined |
fill |
fill |
Set to "clear" for a transparent icon or to "solid" for a filled background. |
"clear" | "solid" |
'clear' |
mode |
mode |
The mode determines which platform styles to use. | "ios" | "md" |
undefined |
name |
name |
The icon to use. Possible values are the same as "ion-icon". |
string | undefined |
undefined |
src |
src |
The icon src to use. Possible values are the same as "ion-icon". |
string | undefined |
undefined |
CSS Custom Properties
| Name | Description |
|---|---|
--background |
Background of the Chip Icon |
--color |
Color of the Chip Icon |
Built with StencilJS