Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Latest commit

 

History

History
40 lines (22 loc) · 686 Bytes

File metadata and controls

40 lines (22 loc) · 686 Bytes

Unchained UI

Login

NPM Version NPM Downloads

Login screen

Usage

import Login from 'uc-login';

const login = new Login({
  container: document.body,
  hotkey: 'ctrl+l'
});

Default options are used in the example above.

The api in the app must have auth controller.

Methods

show([err])

Show the login screen. If err is provide the err.message will be shown.

hide()

Hides the login screen.

License MIT

© velocityzen