Sirius UI Documentation

Notifications

Uh oh. Something happened

States

Default Success Warning Error
property type default value description
:level String null State of the notification. You can use it as a class as well.
:close-button Boolean false Show the close button

Flash

You can use it from any other javascript instance, console included.
property type default value description
level String null State of the flash notification. You can use it as a class as well.
:close-button Boolean false Show the close button
:auto-close Boolean true Auto close the flash notification after 3 seconds
@click Flash Interface flash Use the Flash Interface

For Laravel users, insert the following html into your view and you can pass a flash message from a controller

Modal

property type default value description
:show-close-button Boolean true Show the close button
:close-on-external-click Boolean true Close the modal if clicking anywhere outside of it
@click Toggle Interface toggle Use the Toggle Interface, call the reference associated

Drawer

property type default value description
:show-close-button Boolean true Show the close button
:close-on-external-click Boolean true Close the drawer if clicking anywhere outside of it
@click Toggle Interface toggle Use the Toggle Interface, call the reference associated

Badge

10
0

Tag

Default
Primary
Secondary
Success
Warning
Error
White
Black

Tooltip

On top
To the left
To the right
At the bottom

property type default value description
tooltip String null The text to show on tooltip
position String top Position of the tooltip
You can use a tooltip on every element.

Ribbon

You can attach a ribbon inside an element with a relative position.

Hello there!

I'm a Modal!

Primary Drawer on the Right

Secondary Drawer on the Left

White Drawer on the Right

Black Drawer on the Left

Larastars