d5_ax
(Bubba)
June 1, 2022, 1:59pm
#1
What is SimpleSnackbars?
SimpleSnackbars is a easy to use Snackbar system to better enhance your UI and Game.
As of right now, SimpleSnackbars supports the following below:
Dark/Light theme
Actions, Text, Duration
More updates will come in the future. If you have a suggestion leave it below!
Get SimpleSnackbars
Docs
--Snackbar Action
local SimpleSnackbars = -- Path to SimpleSnackbars
local SnackbarAction = require(SimpleSnackbars.SnackbarAction)
SnackbarAction.SnackbarAction(actionText, messageText, dur)
SnackbarAction.actionClick(function()
-- do something
end)
-- Snackbar Notification
local SimpleSnackbars = -- Path to SimpleSnackbars
local Snackbar = require(SimpleSnackbars.Snackbar)
Snackbar.Snackbar(messageText, dur)
16 Likes
Qinrir
(Quin)
June 1, 2022, 2:07pm
#2
can you send another type of video gyazo doesnt work for me for some reason
d5_ax
(Bubba)
June 1, 2022, 2:10pm
#3
I am sorry about that! give me a minute
loudbytes
(loudbytes)
June 1, 2022, 2:13pm
#4
The biggest issue I can see with this is inconsistent styling. Why is messageText
and actionText
in camelCase but TweenOut
and Click
in PascalCase?
d5_ax
(Bubba)
June 1, 2022, 2:18pm
#5
Sorry about that. I didn’t really notice till now but I I will update it!
loudbytes
(loudbytes)
June 1, 2022, 2:20pm
#6
You should also get rid of the colons in the module’s function declaration. This would remove the need for the user to add self
as the first argument, especially since you don’t use it in the functions themselves.
1 Like
d5_ax
(Bubba)
June 1, 2022, 2:33pm
#7
Thank you for letting me know I have updated it
isn’t this the same snackbar system from rostrap? the ui looks damn near exactly the same.
d5_ax
(Bubba)
June 2, 2022, 6:10pm
#9
No I made this from scratch with just a Frame and UICorner. RoStrap used a ImageLabel I believe
FordNGuns
(FordNGuns)
June 4, 2022, 10:51pm
#10
Rostrap’s snackbar isnt necessarily original either, the design comes from visual studio.
1 Like