How to use react95 - 8 common examples

To help you get started, we’ve selected a few react95 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github benwiley4000 / win95-media-player / src / components / ProgressBar.js View on Github external
const { themes } = require('react95');
const ResizeObserver = require('resize-observer-polyfill').default;

const ProgressRuler = require('./ProgressRuler');

const progressMargin = 10;

// based on Cutout styles from react95
const progressContainerStyle = {
  background: 'white',
  height: 13,
  margin: progressMargin,
  marginBottom: 0,
  borderStyle: 'solid',
  borderWidth: 2,
  borderTopColor: themes.default.borderDark,
  borderLeftColor: themes.default.borderDark,
  borderBottomColor: themes.default.borderLightest,
  borderRightColor: themes.default.borderLightest,
  boxSizing: 'border-box'
};

const handle = (
  <div style="{{">
    </div>
github benwiley4000 / win95-media-player / src / components / ProgressBar.js View on Github external
const ProgressRuler = require('./ProgressRuler');

const progressMargin = 10;

// based on Cutout styles from react95
const progressContainerStyle = {
  background: 'white',
  height: 13,
  margin: progressMargin,
  marginBottom: 0,
  borderStyle: 'solid',
  borderWidth: 2,
  borderTopColor: themes.default.borderDark,
  borderLeftColor: themes.default.borderDark,
  borderBottomColor: themes.default.borderLightest,
  borderRightColor: themes.default.borderLightest,
  boxSizing: 'border-box'
};

const handle = (
  <div style="{{">
    </div>
github benwiley4000 / win95-media-player / src / components / VerticalDivider.js View on Github external
const React = require('react');
const { themes } = require('react95');

const style = {
  width: 0,
  borderRight: `2px solid ${themes.default.borderLightest}`,
  borderLeft: `2px solid ${themes.default.borderDark}`,
  margin: 0,
  alignSelf: 'stretch',
  marginTop: -4,
  marginBottom: -4
};

const VerticalDivider = () =&gt; {
  return <div style="{style}">;
};

module.exports = VerticalDivider;
</div>
github fox-finder / FoxFinder / src / bases / materials / window / Win95.tsx View on Github external
export const Win95: React.FC = (props) =&gt; {
  return (
    &lt;&gt;
      
      
        
          
            <span>react95.exe</span>
            <button size="{'sm'}" style="{{">
              <span style="{{">x</span>
            </button>
          
          
            <div>{props.children}</div>
github benwiley4000 / win95-media-player / src / components / SimpleDivider.js View on Github external
const React = require('react');
const { themes } = require('react95');

const style = {
  height: 0,
  borderBottom: `1px solid ${themes.default.borderLightest}`,
  margin: 0
};

const SimpleDivider = () =&gt; {
  return <hr style="{style}">;
};

module.exports = SimpleDivider;
github benwiley4000 / win95-media-player / src / components / VerticalDivider.js View on Github external
const React = require('react');
const { themes } = require('react95');

const style = {
  width: 0,
  borderRight: `2px solid ${themes.default.borderLightest}`,
  borderLeft: `2px solid ${themes.default.borderDark}`,
  margin: 0,
  alignSelf: 'stretch',
  marginTop: -4,
  marginBottom: -4
};

const VerticalDivider = () =&gt; {
  return <div style="{style}">;
};

module.exports = VerticalDivider;
</div>
github benwiley4000 / win95-media-player / src / components / MediaPlayerView.js View on Github external
className,
      style,
      fullscreen,
      requestFullscreen,
      requestExitFullscreen,
      playlist,
      activeTrackIndex,
      paused,
      currentTime,
      onTogglePause,
      onBackSkip,
      onForwardSkip
    } = this.props;
    const { width } = this.state;
    return (
      
github fox-finder / FoxFinder / baks / systems / win95 / index.tsx View on Github external
export const Win95: React.FC = observer(() =&gt; {
  return (
    <div id="os">
      <br>
      
      
        <div>
          
            Win95 app
            
              
                  🎤 Sing
                  💃🏻 Dance
                  
                  I'm Win95
              
            
          
        </div>
      
    </div>
  );

react95

Refreshed Windows95 UI components for modern web apps - React95

MIT
Latest version published 1 year ago

Package Health Score

54 / 100
Full package analysis