2.0.2 ā¢ Published 2 years ago
marketier-ui v2.0.2
Marketier UI šļø
A material-like input-component library for Vue 3.
Currently under development.
Installation āļø
via NPM
npm install --save marketier-ui
(yarn coming soon)
Import ā¤µļø
Global components
// Import Marketier UI
import MarketierUI from "marketier-ui";
// Import component style
import "marketier-ui/dist/style.css";
// Create app
const app = createApp(App);
// Use components
app.use(MarketierUI);
// Lastly mount app
app.mount("#app");
(local imports coming soon)
Usage šŖ
Minimal setup
<mui-input type="text" v-model="value"/>
Parameters
Parameters | Type | Default | Description |
---|---|---|---|
type | String | text | Input type. Available types: text , password , number , url , email , tel , search , textarea |
label | String | '' | Label of the input; go-to parameter to indicate the use of the input. |
placeholder | String | '' | Placeholder of the input; like a label but it doesn't make way for the entered value - it fades instead. |
helper | String | '' | Helper text displayed underneath the input |
required | Boolean | false | Whether or not the input is required |
disabled | Boolean | false | Whether or not the input is disabled |
pattern | String | '' | Validation pattern (regex) |
noBorder | Boolean | false | If set to true the input will not have a border surrounding the label, value and placeholder |
iconLeft | String | '' | Description coming soon |
iconRight | String | '' | Description coming soon |
min | Number , String | null | Description coming soon |
max | Number , String | null | Description coming soon |
spellcheck | Boolean | false | Description coming soon |
autocomplete | String | 'off' | Description coming soon |
tabIndex | Number , String | 0 | Description coming soon |
errorText | String | '' | Description coming soon |
title | String | '' | Description coming soon |
name | String | '' | Description coming soon |
prefix | String | '' | Description coming soon |
suffix | String | '' | Description coming soon |
resize | String | 'none' | Valid value: none , horizontal , vertical , both Only available for the input type: textarea |
hideMax | Boolean | false | Description coming soon |
clearable | Boolean | false | Description coming soon |
hideObfuscationToggle | Boolean | false | Hides obfuscation toggle of password. Only available for the input type: password |
showPasswordScore | Boolean | false | Displays a password strength score.Ā¹ Only available for the input type: password |
Ā¹ Only available if the dropbox/zxcvbn library function is available via window.zxcvbn
on runtime
What is this "Marketier" š¤
Marketier is a SaaS marketing and management platform currently in its early development.
As a result of the need for a component library this package was created.
Learn more about Marketier
License š
MIT ā 2022