Refreshed Windows95 UI components for modern web apps - React95
npm install @sagyo/react95
Refreshed Windows95 UI components for your modern React apps.
Built with styled-components 💅
sh
yarn
$ yarn add react95 styled-components
npm
$ npm install react95 styled-components
`
Apply style reset, wrap your app with ThemeProvider with theme of your choice... and you are ready to go! 🚀
`jsx
import React from 'react';
import { createGlobalStyle, ThemeProvider } from 'styled-components';
import { MenuList, MenuListItem, Separator, styleReset } from 'react95';
// pick a theme of your choice
import original from 'react95/dist/themes/original';
// original Windows95 font (optionally)
import ms_sans_serif from 'react95/dist/fonts/ms_sans_serif.woff2';
import ms_sans_serif_bold from 'react95/dist/fonts/ms_sans_serif_bold.woff2';
const GlobalStyles = createGlobalStyle
;
const App = () => (
🎤 Sing
💃🏻 Dance
😴 Sleep
);
export default App;
``