Chip
Chips are complex entities in small blocks. Add a container element with the
chip class. And add child text element, buttons or avatars with the avatar
class.
Chip
Active
Avatar
Online
Busy
Closable
status
null online busy away offline
image
null avatar-1.png avatar-2.png avatar-3.png avatar-4.png avatar-5.png
< script>
import { Chip} from 'svelte-spectre'
</ script>
< Chip> Chip</ Chip>
< Chip active > Active</ Chip>
< Chip name = " CP" > Avatar</ Chip>
< Chip name = " CP" status = " online" > Online</ Chip>
< Chip name = " CP" status = " busy" > Busy</ Chip>
< Chip name = " CP" status = " busy" closable >
< img slot = " avatar" src=" { base} /img /avatar-1.png" alt = " Albert Einstein" /> Closable
</ Chip>