SyntaxUI/syntaxui

[FEATURE]: Add a Glassmorphic button

vishnuprasad2004 opened this issue ยท 8 comments

Feature Description ๐Ÿ“

A Glassmorphism Button (button with glass-like effect)

Tailwind Playground link: https://play.tailwindcss.com/Y9Sr11vrVR

Screenshots ๐Ÿ“ธ

In Light Mode
image
In Dark mode
image

Hello @vishnuprasad2004,

Thanks for creating this issue and contributing to SyntaxUI!

@Ansub will review your issue soon and provide feedback. In the meantime, feel free to join the discord community, It's a great place to discuss the project, ask questions, and connect with other contributors.

Please ensure that you have followed the contributing guidelines for a smooth review process.

I had also created a Glassmorphism Button for SyntaxUI in the past.

Here is what mine looks like.

trim.DF39917C-30BE-4FE6-A6C1-AEFEF2E6B45F.MOV

@epoll31 what if we remove that red background at the back

This is what that looks like:
Screenshot 2024-05-13 at 9 53 48โ€ฏAM

The red part behind it is what gives it it's glassy look.

hmm, you are right. we can do something similar to this then

https://codepen.io/tin-fung-hk/pen/MWrRqBw

That's pretty similar to what I had :). Do you want me to make it a square, or rotate the background, or both?

can you raise a PR for the glassmorphism button you made or lmk if it was already there i will re-open it

we actually need that button but looking for a better UI @vishnuprasad2004