1.11.2 • Published 11 months ago
skylab-package v1.11.2
Diamondloginpage
Diamondloginpage is a React-based login component designed for easy integration and customization. It features "Remember Me" functionality, password encryption, and an integrated password reset option, all styled with Tailwind CSS.
Features
- Encrypted "Remember Me" functionality.
- Custom branding with logo and side images.
- Built-in support for password resets.
- Responsive design for mobile-friendly usage.
Installation
To install the package, use npm:
npm install diamondloginpage
## Usage
Here’s an example of how to use the component:
import { Login } from 'diamondloginpage';
const App = () => {
return (
<Login
apiLoginEndpoint="/api/login"
apiForgotPasswordEndpoint="/api/forgot-password"
onLoginSuccess={(response) => console.log(response)}
logo="path/to/logo.png"
sideImage="path/to/side-image.png"
/>
);
};
| Prop | Type | Required | Description |
|-----------------------------|----------|----------|-----------------------------------------------------------------------------------------------------|
| `apiLoginEndpoint` | string | Yes | The API endpoint for login. |
| ... | ... | ... | ... |
For questions or feedback, reach out at [jasmin.nidhiimpex@gmail.com].
1.11.2
11 months ago
1.11.1
11 months ago
1.10.1
11 months ago
1.10.0
11 months ago
1.9.1
11 months ago
1.8.1
11 months ago
1.8.0
11 months ago
1.7.0
11 months ago
1.6.9
11 months ago
1.6.8
11 months ago
1.6.7
11 months ago
1.6.6
11 months ago
1.6.5
11 months ago
1.6.3
11 months ago
1.6.2
11 months ago
1.6.0
11 months ago
1.5.9
11 months ago
1.5.8
11 months ago
1.4.8
11 months ago
1.4.7
11 months ago
1.4.6
11 months ago
1.4.5
11 months ago
1.4.4
11 months ago
1.4.3
11 months ago