![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-fullscreen-image
Advanced tools
An accessible, fast, and animated fullscreen React image viewer.
🔲
A simple, fast, and beautiful fullscreen React image viewer using CSS transforms & opacity.
You've got a list of images that you want to allow users to click and expand into fullscreen mode.
React Fullscreen Image is a tiny library to render images that animate to fullscreen view when clicked.
React Fullscreen Image uses compound components. All <Image />
components nested within an <ImageGroup />
will be navigatable when in fullscreen mode.
import { ImageGroup, Image } from 'react-fullscreen-image'
const images = [
'https://unsplash.com/photos/Bkci_8qcdvQ',
'https://unsplash.com/photos/hS46bsAASwQ',
'https://unsplash.com/photos/2VDa8bnLM8c',
'https://unsplash.com/photos/_LuLiJc1cdo',
'https://unsplash.com/photos/1Z2niiBPg5A',
'https://unsplash.com/photos/pHANr-CpbYM',
'https://unsplash.com/photos/pQMM63GE7fo',
'https://unsplash.com/photos/2VDa8bnLM8c',
'https://unsplash.com/photos/MBkQKiH14ng',
]
export default function App() {
return (
<ImageGroup>
<ul className="images">
{images.map(i => (
<li key={i}>
<Image
src={i}
alt="nature"
style={{
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
height: '100%',
width: '100%',
objectFit: 'cover',
}}
/>
</li>
))}
</ul>
</ImageGroup>
)
}
git clone https://github.com/timc1/react-fullscreen-image.git
cd react-fullscreen-image/example
yarn install
yarn start
FAQs
An accessible, fast, and animated fullscreen React image viewer.
The npm package react-fullscreen-image receives a total of 299 weekly downloads. As such, react-fullscreen-image popularity was classified as not popular.
We found that react-fullscreen-image 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.