MCPcopy
hub / github.com/react95-io/React95

github.com/react95-io/React95 @v4.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v4.0.0 ↗
142 symbols 569 edges 210 files 4 documented · 3%
README

React95

NPM release status React95 version React95 license React95 license

Components - Demo app - React Native - Slack - PayPal donation 💰

Refreshed Windows95 UI components for your modern React apps.

Built with styled-components 💅

hero

Support

Getting Started

First, install component library and styled-components in your project directory:

# 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! 🚀

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`
  ${styleReset}
  @font-face {
    font-family: 'ms_sans_serif';
    src: url('${ms_sans_serif}') format('woff2');
    font-weight: 400;
    font-style: normal
  }
  @font-face {
    font-family: 'ms_sans_serif';
    src: url('${ms_sans_serif_bold}') format('woff2');
    font-weight: bold;
    font-style: normal
  }
  body {
    font-family: 'ms_sans_serif';
  }
`;

const App = () => (



    <GlobalStyles />
    <ThemeProvider theme={original}>
      <MenuList>
        <MenuListItem>🎤 Sing</MenuListItem>
        <MenuListItem>💃🏻 Dance</MenuListItem>
        <Separator />
        <MenuListItem disabled>😴 Sleep</MenuListItem>
      </MenuList>
    </ThemeProvider>



);

export default App;

Submit your project

Apps built with React95 will be featured on the official React95 website 🤟🏻

Contributing

Any help from UI / UX designers would be EXTREMELY appreciated. The challenge is to come up with new component designs / layouts that are broadly used in modern UIs, that weren't present back in 95.

If you want to help with the project, feel free to open pull requests and submit issues or component proposals. Let's bring this UI back to life ♥️

Extension points exported contracts — how you extend this code

DefaultTheme (Interface)
(no doc)
types/themes.d.ts

Core symbols most depended-on inside this repo

renderWithTheme
called by 196
test/utils.tsx
createBorderStyles
called by 23
src/common/index.ts
clamp
called by 12
src/common/utils/index.ts
createDisabledTextStyles
called by 11
src/common/index.ts
createBoxStyles
called by 11
src/common/index.ts
getSize
called by 8
src/common/utils/index.ts
useControlledOrUncontrolled
called by 8
src/common/hooks/useControlledOrUncontrolled.ts
useEventCallback
called by 7
src/common/hooks/useEventCallback.ts

Shape

Function 133
Method 6
Class 2
Interface 1

Languages

TypeScript100%

Modules by API surface

src/common/index.ts10 symbols
test/utils.tsx9 symbols
src/common/hooks/useIsFocusVisible.ts9 symbols
src/common/utils/index.ts7 symbols
src/TreeView/TreeView.stories.tsx6 symbols
src/TextInput/TextInput.stories.tsx5 symbols
src/TreeView/TreeView.tsx4 symbols
src/Tooltip/Tooltip.tsx4 symbols
src/Slider/Slider.tsx4 symbols
src/Select/Select.stories.tsx4 symbols
src/Checkbox/Checkbox.stories.tsx4 symbols
src/Button/Button.stories.tsx4 symbols

Dependencies from manifests, versioned

@babel/core7.18.9 · 1×
@babel/plugin-proposal-class-properties7.18.6 · 1×
@babel/plugin-proposal-decorators7.18.10 · 1×
@babel/plugin-proposal-export-default-from7.18.10 · 1×
@babel/plugin-proposal-nullish-coalescing-operator7.18.6 · 1×
@babel/plugin-proposal-object-rest-spread7.18.9 · 1×
@babel/plugin-proposal-optional-chaining7.18.9 · 1×
@babel/plugin-proposal-private-methods7.18.6 · 1×
@babel/plugin-proposal-private-property-in-object7.18.6 · 1×
@babel/plugin-syntax-dynamic-import7.8.3 · 1×
@babel/plugin-transform-arrow-functions7.18.6 · 1×
@babel/plugin-transform-block-scoping7.18.9 · 1×

For agents

$ claude mcp add React95 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact