A collection of React components styled with 7.css, a minimalist CSS framework for building interfaces that look like Windows 98.
- 🖥️ Pre-styled React components with Windows 98 aesthetic
- 😳 Built using 7.css class names and styling conventions
- 👍 Easy integration with existing React projects
- 📦 Lightweight and dependency-free
- 🛠️ Customizable through CSS class overrides
npm install React-7css 7.css
# or
yarn add React-7css 7.css
- Import 7.css in your root component:
// App.jsx
import '7.css';
- Import the components, they all end with the number 7, example: Ballon7, Button7, Window7. All components accept common properties of html elements.
import { StatusBar7, StatusBarField7, TitleBar7, TitleBarControls7, TitleBarText7, Window7, WindowBody7 } from "react-7css";
export function App() {
return (
<Window7 active>
<TitleBar7 >
<TitleBarText7 >
<img src="icon.png" />
widnow title
</TitleBarText7>
<TitleBarControls7 controls={["maximize", "minimize", "close"]} />
</TitleBar7>
<WindowBody7 space>
Window body
</WindowBody7>
<StatusBar7>
<StatusBarField7>
123
</StatusBarField7>
456
<StatusBarField7>
789
</StatusBarField7>
<StatusBarField7>
101112
</StatusBarField7>
</StatusBar7>
</Window7>
);
}
Someday... It is possible to make a copy of the project and generate documentation with jsdoc.