A fully featured chip component that can act as a <button> or <a> tag. ### Example ```jsx <Widget src="near/widget/DIG.Chip" props={{ label: 'Click Me' }} /> ``` ### Props `active` - type: bool - default: `false` - Uses the active style variant if true. `disabled` - type: bool `href` - type: string - If a value is passed, the component will render an <a> tag instead of a <button> - All valid HTML props for <a> tags will be forwarded along to the element. `iconLeft` - type: string (CSS Class) - example: "ph-bold ph-anchor-simple" - https://phosphoricons.com/ - Adds an icon to the left of the label `iconRight` - type: string (CSS Class) - example: "ph-bold ph-anchor-simple" - https://phosphoricons.com/ - Adds an icon to the right of the label `label` - type: string - required - Adds visible text to chip. `onClick` - type: function - Other DOM events like `onMouseDown` are also supported. `type` - type: string - values: native HTML button type values ("button", "submit") - Ignored if href prop is passed ### HTML Attributes All other props will be forwarded through to the <a> or <button> element. EG: id, target, aria-*.