Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-ui89

daniel-araujo4940.54.0TypeScript support: included

A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.

react, ui, components, design, framework, 90s, 80s, tui, terminal, dos, msdos, linux, leet

readme

react-ui89

A collection of components that mimic a common style of user interfaces from the late 80s and early 90s.

Screenshot

Install

npm install react-ui89

Usage

To get started, import the CSS file and place a Ui89Scene component as the root element of your layout.

Then, add any other react-ui89 components as needed to create your desired UI.

import 'react-ui89/dist/esm/index.css'
import {
  Ui89Scene,
  Ui89Card,
  Ui89SpaceVertical,
  Ui89Button,
  Ui89TitleBox,
} from 'react-ui89'

export default function Page() {
  return (
    <Ui89Scene>
      <Ui89Card topCenter={<Ui89TitleBox>Proposition</Ui89TitleBox>}>
        <Ui89SpaceVertical gap={1} />
        Welcome to the past.
        <Ui89SpaceVertical gap={1} />
        Do you accept?
        <Ui89SpaceVertical gap={2} />
        <Ui89Button theme="success">Yes</Ui89Button>
        <Ui89Button theme="danger">No</Ui89Button>
        <Ui89Button theme="warning">Yesn't</Ui89Button>
      </Ui89Card>
    </Ui89Scene>
  )
}

Documentation

This project uses storybook. Storybook is an open-source tool for building and organizing UI components in isolation.

npm run storybook

Development

Storybook is also used for development.

npm run storybook

Contributing

The easiest way to contribute is by starring this project on GitHub!

https://github.com/daniel-araujo/react-ui89

If you've found a bug, would like to suggest a feature or need some help, feel free to create an issue on GitHub:

https://github.com/daniel-araujo/react-ui89/issues