0.1.9 • Published 1 year ago
@web-inmars/mars-text v0.1.9
mars-text
Web component that allows us to show an accessible and beautiful text.
Installation
npm i @web-inmars/mars-text --save
Usage
<script type="module">
import 'mars-text/mars-text.js';
</script>
<mars-text tag="p">
I'm a paragraph.
</mars-text>
Properties
Property | Attribute | Type | Default |
---|---|---|---|
cssPart | css-part | string | "" |
disabled | disabled | boolean | false |
tag | tag | string | "" |
value | value | string | "" |
variant | variant | string | "" |