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

Function ImageFade

src/showcase/effects/ImageFade.tsx:3–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { FC } from 'react'
2
3const ImageFade: FC = () => {
4 return (
5 <div>
6 <div className="relative flex max-w-6xl justify-center overflow-hidden">
7 <img
8 src="https://dashboardsdesign.com/img/dashboards/dashboard-05-custom.png"
9 alt="hero-section"
10 className="h-full w-full rounded-lg object-cover md:w-[1300px]"
11 style={{
12 maskImage: `linear-gradient(to top, transparent, black 20%)`,
13 }}
14 />
15 </div>
16 </div>
17 )
18}
19
20export default ImageFade

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected