View Source Phoenix.UI.Components.Chip (Phoenix UI v0.1.6)

Provides chip component.

Link to this section Summary

Functions

Renders chip component.

Link to this section Functions

Renders chip component.

examples

Examples

```
<.chip label="keto"/>
```

attributes

Attributes

  • avatar (:list)
  • color (:string) - Defaults to "slate".
  • delete_icon (:list)
  • element (:string) - Defaults to "div".
  • extend_class (:string)
  • icon (:list)
  • label (:string)
  • rest (:global)
  • size (:string) - Defaults to "md".
  • variant (:string) - Defaults to "filled".