Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscop authored Oct 3, 2024
1 parent a91cbc9 commit 759ee87
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/plugins/label/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,16 @@ An element to display some short relevant information on the side of other eleme
<p>paragraph <span class="label">Normal</span></p>
```

They are like buttons, but without interactive parts.

### Variations

Besides the basic `label`, there are 4 variations `success`, `warning`, `error` and `pseudo`:

```html
<p>paragraph <span class="label">Default</span></p>
<p>paragraph <span class="label success">Success</span></p>
<p>paragraph <span class="label warning">Warning</span></p>
<p>paragraph <span class="label error">Error</span></p>
<p>paragraph <span class="label pseudo">Pseudo</span></p>
```

0 comments on commit 759ee87

Please sign in to comment.