2.0.2 ā€¢ Published 2 years ago

marketier-ui v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

ParametersTypeDefaultDescription
typeStringtextInput type. Available types: text, password, number, url, email, tel, search, textarea
labelString''Label of the input; go-to parameter to indicate the use of the input.
placeholderString''Placeholder of the input; like a label but it doesn't make way for the entered value - it fades instead.
helperString''Helper text displayed underneath the input
requiredBooleanfalseWhether or not the input is required
disabledBooleanfalseWhether or not the input is disabled
patternString''Validation pattern (regex)
noBorderBooleanfalseIf set to true the input will not have a border surrounding the label, value and placeholder
iconLeftString''Description coming soon
iconRightString''Description coming soon
minNumber, StringnullDescription coming soon
maxNumber, StringnullDescription coming soon
spellcheckBooleanfalseDescription coming soon
autocompleteString'off'Description coming soon
tabIndexNumber, String0Description coming soon
errorTextString''Description coming soon
titleString''Description coming soon
nameString''Description coming soon
prefixString''Description coming soon
suffixString''Description coming soon
resizeString'none'Valid value: none, horizontal, vertical, both Only available for the input type: textarea
hideMaxBooleanfalseDescription coming soon
clearableBooleanfalseDescription coming soon
hideObfuscationToggleBooleanfalseHides obfuscation toggle of password. Only available for the input type: password
showPasswordScoreBooleanfalseDisplays 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

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago