MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / ShineButton

Function ShineButton

src/showcase/components/button/ShineButton.tsx:1–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1const ShineButton = () => {
2 return (
3 <button className="group/button relative inline-flex items-center justify-center overflow-hidden rounded-md bg-red-500 px-4 py-1.5 text-xs font-normal text-white transition-all duration-300 ease-in-out hover:scale-105 hover:shadow-lg hover:shadow-red-500/30">
4 <span className="text-sm">SyntaxUI</span>
5 <div className="absolute inset-0 flex h-full w-full justify-center [transform:skew(-13deg)_translateX(-100%)] group-hover/button:duration-1000 group-hover/button:[transform:skew(-13deg)_translateX(100%)]">
6 <div className="relative h-full w-8 bg-white/20" />
7 </div>
8 </button>
9 )
10}
11
12export default ShineButton

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected