# @craydel-v3/craydel-password-field

> A custom Vuetify password field component for Craydel.

Latest version **1.0.0** (published 2023-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @craydel-v3/craydel-password-field
pnpm add @craydel-v3/craydel-password-field
yarn add @craydel-v3/craydel-password-field
bun add @craydel-v3/craydel-password-field
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-10-12 |
| First published | 2023-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 11.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Wasim Al-Haddad |
| Maintainers | sayedwasim |
| Keywords | vuetify3, password field, vue, nuxt3 |

## Links

- npm: https://www.npmjs.com/package/@craydel-v3/craydel-password-field
- npm.io page: https://npm.io/package/@craydel-v3/craydel-password-field

## Dependencies (2)

- [@vuelidate/core](https://npm.io/package/@vuelidate/core.md) ^2.0.3
- [@vuelidate/validators](https://npm.io/package/@vuelidate/validators.md) ^2.0.4

## Recent versions

- 1.0.0 (latest) — 2023-10-12

## README

# CraydelPasswordField

## Installation

Get the latest version by NPM:

```bash
$ npm i @craydel-v3/craydel-password-field
```

## Component Import

Import the module chosen directly in your component

```javascript
<script>
  import CraydelPasswordField from "@craydel-v3/craydel-password-field/src/CraydelPasswordField.vue";

  export default {
  components: {CraydelPasswordField}
}
</script>
```

## Props

| Name             | Type    | Default                                                 | Description                                                                                |
|------------------|---------|---------------------------------------------------------|--------------------------------------------------------------------------------------------|
| id               | string  | random ID                                               | Sets the DOM id on the component.                                                          |
| placeholder      | string  | 'Enter password'                                        | Sets the component's placeholder text.                                                     |
| is-required      | boolean | false                                                   | Puts component in a required state.                                                        |
| required-error   | string  | 'Field is required'                                     | Puts the component in an error state and passes through the custom required error message. |
| max-length       | number  | 100                                                     | The maximum number of characters allowed in the field.                                     |
| max-length-error | string  | 'Value cannot be longer than **max-length** characters' | Puts the component in an error state and passes through a custom max length error message. |

&emsp;

## Usage

An example showing a password field that shows a password strength meter and a confirm password field.

```html

<craydel-password-field show-confirm-field show-password-strength></craydel-password-field>
```

---
_Source: https://npm.io/package/@craydel-v3/craydel-password-field · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
