Authentication
Advanced Topics
Buttons

Add buttons

There are several buttons that you can use on our web application: login, logout and user registration.

Login button

import {signIn} from "@roq/ui-react";
 
<button onClick={signIn}>
    Login
</button>

Logout button

import {signOut} from "@roq/ui-react";
 
<button onClick={signOut}>
    Logout
</button>

Registration button

import {signUp} from "@roq/ui-react";
 
<button onClick={signUp}>
    Sign up
</button>