
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
react-slide-animation
Advanced tools
Slide animation for React. Useful to animate items in a list.
npm install --save react-slide-animation
import SlideAnimation from 'react-slide-animation';
const List = ({ items }) => (
<SlideAnimation component="ul">
{items.map(({ id, name }) => <li key={id}>{name}</li>)}
</SlideAnimation>
);
export default List;
Import styles using PostCSS Import Plugin (e.g. in your main.css):
@import "react-slide-animation";
Or manually add react-slide-animation/lib/index.css to your webpack entry config.
children - Required. Children that animate when added to or removed from SlideAnimation.
You must provide the key attribute for all children of SlideAnimation. This is how React determines which child has entered, left, or stayed.
component - Component used for rendering. (default: 'div')
Can be a string (DOM component) or any user defined component:
<SlideAnimation component={CustomContainer}>
{/* ... */}
</SlideAnimation>
Additional properties to SlideAnimation will become properties of the rendered component:
<SlideAnimation className="example" style={{ border: '1px solid black' }}>
{/* ... */}
</SlideAnimation>
animationName - Prefix used to construct CSS class names. (default: 'slide-animation')
Can be used to create custom animation effects:
{animationName}-enter - Applied to entering child{animationName}-enter-active - Applied to entering child on next tick{animationName}-leave - Applied to leaving child{animationName}-leave-active - Applied to leaving child on next tickFAQs
Slide animation for React
We found that react-slide-animation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.