# Examples

**Default with No Custom Options**

![](https://1975755538-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfArRJUWr3ewsisJxOJ%2F-MfArTfYZAnuR4efMN1t%2F-MfAuuc-CGEgLrasurJX%2Fdefault.png?alt=media\&token=3970b425-89c6-45f4-bab3-fccf3db0383f)

```javascript
jQuery(document).ready(function () {
    jQuery("#example1").passwordGenerator();
});
```

**Customized**

![](https://1975755538-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfArRJUWr3ewsisJxOJ%2F-MfArTfYZAnuR4efMN1t%2F-MfAv7XdVHHaxn63a4PM%2Fcustomized.png?alt=media\&token=40e7199d-d54c-4aa7-b552-b63b197e1bee)

```javascript
jQuery(document).ready(function () {
    jQuery("#example2").passwordGenerator({
		defaultSelectedLength: 5,
		defaultLength: 10,
		numbers: false,
		symbols: false,
		text: {
			length: "Length",
			uppercase: "Uppercase letters",
			lowercase: "Lowercase letters",
			button: "Generate",
			clipboardText: "Copied",
		},
		theme: {
			backgroundColor: "#000",
			color: "#fff",
			border: "none",
			buttonColor: "transparent",
			buttonTextColor: "#fff",
			buttonBorderColor: "#fff",
			lengthBackgroundColor: "rgba(255,255,255,.15)",
			lengthColor: "#fff",
			rangeColor: "transparent",
			rangeTextColor: "#fff",
			rangeBorderColor: "transparent",
			resultsBackgroundColor: "#fff",
			resultsColor: "#2196f3",
			clipBoardColor: "#2196f3",
			item: "#2196f3",
			itemBorder: "#000",
		},
	});
});
```
