react-swift-reveal is a React component library and animation framework for animating elements as they enter the viewport.
for more, check the documentation
with npm:
npm install react-swift-reveal@latest
with yarn:
yarn add react-swift-reveal@latest
with pnpm:
pnpm add react-swift-reveal@latest
import { Fade } from "react-swift-reveal";
const App = () => {
return (
<Fade>
<h1>hello world</h1>
</Fade>
);
};
or
import { Fade } from "react-swift-reveal";
const App = () => {
return (
<Fade>
<MyComponent /> //component to be animated
</Fade>
);
};
"use client";
import { Fade } from "react-swift-reveal";
export default function Home() {
return (
<Fade>
<h1>hello world</h1>
</Fade>
);
}
If you like this project, please consider supporting it by giving it a star.
$ claude mcp add react-swift-reveal \
-- python -m otcore.mcp_server <graph>