Activity Stream
Report-Fix / Update

Add 3 files to Tasks

Monday , 4:24 PM
Project Status

Marked Design as Completed

Monday , 3:00 PM
UI
Larkon Application UI v2.0.0 Latest

Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and pre-order E-commerce & Marketing pages.

Monday , 2:10 PM
avatar-5
Alex Smith Attached Photos
Monday 1:00 PM
avatar-5
Rebecca J. added a new team member

Added a new member to Front Dashboard

Monday 10:00 AM
Achievements

Earned a " Best Product Award"

Monday 9:30 AM
View All
Theme Settings
Color Scheme
Topbar Color
Menu Color
Sidebar Size
Basic Examples#

Toasts are as flexible as you need and have very little required markup. At a minimum, we require a single element to contain your “toasted” content and strongly encourage a dismiss button.

html
                                            
                                                <!-- Basic Toast -->
                                                <div class="toast fade show" role="alert" aria-live="assertive" aria-atomic="true" 
                                                    data-bs-toggle="toast">
                                                    <div class="toast-header d-block">
                                                        <div class="float-end">
                                                            <small>11 mins ago</small>
                                                            <button type="button" class="ms-2 btn-close" data-bs-dismiss="toast" 
                                                                aria-label="Close"></button>
                                                        </div>
                                                        <div class="auth-logo">
                                                            <img class="logo-dark" src="assets/images/logo-dark.png" 
                                                                alt="logo-dark" height="18" />
                                                            <img class="logo-light" src="assets/images/logo-light.png" 
                                                                alt="logo-light" height="18" />
                                                        </div>
                                                    </div>
                                                    <div class="toast-body">
                                                        Hello, world! This is a toast message.
                                                    </div>
                                                </div>                                                         
                                            
                                        
Live example#

Click the button below to show a toast (positioned with our utilities in the lower right corner) that has been hidden by default.

html
                                            
                                                <button type="button" class="btn btn-primary" id="liveToastDefaultBtn">Show live toast</button>

                                                <div class="toast-container position-fixed bottom-0 end-0 p-3">
                                                    <div id="liveToastDefault" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
                                                        <div class="toast-header">
                                                            <div class="auth-logo me-auto">
                                                                <img class="logo-dark" src="assets/images/logo-dark.png" alt="logo-dark" height="18" />
                                                                <img class="logo-light" src="assets/images/logo-light.png" alt="logo-light" height="18" />
                                                            </div>
                                                            <small>11 mins ago</small>
                                                            <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
                                                        </div>
                                                        <div class="toast-body">
                                                            Hello, world! This is a toast message.
                                                        </div>
                                                    </div>
                                                </div>                                                      
                                            
                                        
Default Buttons#

Toasts are as flexible as you need and have very little required markup. At a minimum, we require a single element to contain your “toasted” content and strongly encourage a dismiss button.

html
                                            
                                                <button type="button" class="btn btn-primary" id="liveToastBtn">Show live toast</button>
                                                <button type="button" class="btn btn-primary" id="liveToastBtn2">Show live toast</button>

                                                <div class="toast-container position-fixed end-0 top-0 p-3">
                                                    <div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
                                                        <div class="toast-header">
                                                            <div class="auth-logo me-auto">
                                                                <img class="logo-dark" src="assets/images/logo-dark.png" alt="logo-dark" height="18" />
                                                                <img class="logo-light" src="assets/images/logo-light.png" alt="logo-light" height="18" />
                                                            </div>
                                                            <small class="text-muted">just now</small>
                                                            <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
                                                        </div>
                                                        <div class="toast-body">
                                                            See? Just like this.
                                                        </div>
                                                    </div>

                                                    <div id="liveToast2" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
                                                        <div class="toast-header">
                                                            <div class="auth-logo me-auto">
                                                                <img class="logo-dark" src="assets/images/logo-dark.png" alt="logo-dark" height="18" />
                                                                <img class="logo-light" src="assets/images/logo-light.png" alt="logo-light" height="18" />
                                                            </div>
                                                            <small class="text-muted">2 seconds ago</small>
                                                            <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
                                                        </div>
                                                        <div class="toast-body">
                                                            Heads up, toasts will stack automatically
                                                        </div>
                                                    </div>
                                                </div>                                                       
                                            
                                        
Custom Content#

Alternatively, you can also add additional controls and components to toasts.

html
                                            
                                                <div class="toast fade align-items-center" role="alert" aria-live="assertive" aria-atomic="true">
                                                    <div class="d-flex">
                                                        <div class="toast-body">
                                                            Hello, world! This is a toast message.
                                                        </div>
                                                        <button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
                                                    </div>
                                                </div>

                                                <div class="toast fade align-items-center text-bg-primary" role="alert" aria-live="assertive" aria-atomic="true">
                                                    <div class="d-flex">
                                                        <div class="toast-body">
                                                            Hello, world! This is a toast message.
                                                        </div>
                                                        <button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
                                                    </div>
                                                </div>

                                                <div class="toast fade" role="alert" aria-live="assertive" aria-atomic="true">
                                                    <div class="toast-body">
                                                        Hello, world! This is a toast message.
                                                        <div class="mt-2 pt-2 border-top">
                                                            <button type="button" class="btn btn-primary btn-sm me-1">Take action</button>
                                                            <button type="button" class="btn btn-secondary btn-sm" data-bs-dismiss="toast">Close</button>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="toast fade text-bg-primary" role="alert" aria-live="assertive" aria-atomic="true">
                                                    <div class="toast-body">
                                                        Hello, world! This is a toast message.
                                                        <div class="mt-2 pt-2 border-top">
                                                            <button type="button" class="btn btn-light btn-sm me-1">Take action</button>
                                                            <button type="button" class="btn btn-secondary btn-sm" data-bs-dismiss="toast">Close</button>
                                                        </div>
                                                    </div>
                                                </div>       
                                            
                                        
Transcluent#

Toasts are slightly translucent, too, so they blend over whatever they might appear over. For browsers that support the backdrop-filter CSS property, we’ll also attempt to blur the elements under a toast.

html
                                            
                                                <div class="toast fade" role="alert" aria-live="assertive" aria-atomic="true" data-bs-toggle="toast">
                                                    <div class="toast-header d-block">
                                                        <div class="float-end">
                                                            <small>11 mins ago</small>
                                                            <button type="button" class="ms-2 btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
                                                        </div>
                                                        <div class="auth-logo">
                                                            <img class="logo-dark me-1" src="assets/images/logo-dark.png" alt="logo-dark" height="18" />
                                                            <img class="logo-light" src="assets/images/logo-light.png" alt="logo-light" height="18" />
                                                        </div>
                                                    </div>
                                                    <div class="toast-body">
                                                        Hello, world! This is a toast message.
                                                    </div>
                                                </div>                                                  
                                            
                                        
Placement#

Place toasts with custom CSS as you need them. The top right is often used for notifications, as is the top middle. If you’re only ever going to show one toast at a time, put the positioning styles right on the .toast.

11 mins ago
Hello, world! This is a toast message.
html
                                            
                                                <form>
                                                    <div class="mb-3">
                                                        <label for="selectToastPlacement" class="form-label">Toast placement</label>
                                                        <select class="form-select mt-2" data-choices id="selectToastPlacement">
                                                            <option value="" selected>Select a position...</option>
                                                            <option value="top-0 start-0">Top left (<code class="text-danger">.top-0 .start-0</code>)</option>
                                                            <option value="top-0 start-50 translate-middle-x">Top center</option>
                                                            <option value="top-0 end-0">Top right</option>
                                                            <option value="top-50 start-0 translate-middle-y">Middle left</option>
                                                            <option value="top-50 start-50 translate-middle">Middle center</option>
                                                            <option value="top-50 end-0 translate-middle-y">Middle right</option>
                                                            <option value="bottom-0 start-0">Bottom left</option>
                                                            <option value="bottom-0 start-50 translate-middle-x">Bottom center</option>
                                                            <option value="bottom-0 end-0">Bottom right</option>
                                                        </select>
                                                    </div>
                                                </form>
                                                <div aria-live="polite" aria-atomic="true" class=" bg-light position-relative" style="min-height: 350px;">
                                                    <div class="toast-container position-absolute p-3" id="toastPlacement">
                                                        <div class="toast show mb-2">
                                                            <div class="toast-header d-block">
                                                                <div class="float-end">
                                                                    <small>11 mins ago</small>
                                                                    <button type="button" class="ms-2 btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
                                                                </div>
                                                                <div class="auth-logo">
                                                                    <img class="logo-dark me-1" src="assets/images/logo-dark.png" alt="logo-dark" height="18" />
                                                                    <img class="logo-light" src="assets/images/logo-light.png" alt="logo-light" height="18" />
                                                                </div>
                                                            </div>
                                                            <div class="toast-body">
                                                                Hello, world! This is a toast message.
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>                                          
                                            
                                        
© Larkon. Crafted by Techzaa