Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions elements/rh-icon/rh-icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ export class IconResolveErrorEvent extends ErrorEvent {
* @fires load - Fired when an icon is loaded and rendered
* @fires error - Fired when an icon fails to load
*
* @cssprop --rh-icon-size
* Size of the icon element. Controls both width and height to maintain square aspect ratio.
* Default sizes align with design system spacing tokens. Common values: 16px, 24px, 32px, 48px.
*/
@customElement('rh-icon')
export class RhIcon extends LitElement {
Expand Down