Mobile A Neumorphism Style Mobile Sized View Component For React May 20, 2021 1 min read react-mobile-sized-view Mobile sized view component for React, with support for neumorphism ui. ? Usage yarn add styled-components && yarn add -D @types/styled-components yarn add react-mobile-sized-view Bash import React from 'react'; import MobileSizedView from 'react-mobile-sized-view'; const App: React.FC = () => ( <MobileSizedView backgroundColor="#F6DADB" screenBackgroundColor="#fefefe" screenLightShadow="-31px -31px 62px #FAE0E0" screenDarkShadow="31px 31px 62px #EAB6BE" isRounded > <h1>Title in Screen</h1> </MobileSizedView> ); export default App; React TSX ⚓️ Hooks import { useScreenSize } from 'react-mobile-sized-view'; const SomeComponent: React.FC = () => { const { width: screenWidth } = useScreenSize(); // Comes with SSR support return ( <div style={{ width: screenWidth, height: screenWidth, backgroundColor: 'coral', }} /> ); }; React TSX useScreenSize useWindowSize GitHub https://github.com/junhoyeo/react-mobile-sized-view MobileNeumorphismResponsive
Responsive A React component to view iframe content in a responsive, resizable container React Responsive Iframe Viewer is a versatile component designed for viewing iframe content within a responsive and resizable container. 07 February 2024
Login Responsive Glassmorphism Login Page with React Responsive Glassmorphism Login Page with React 07 March 2023
Images A cross-framework component for responsive, high-performance images using image CDNs A cross-framework component for responsive, high-performance images using image CDNs 15 February 2023