Skip to content

tgstation/tgui-core

Repository files navigation

tgui-core

A collection of utilities and components for the tgui framework.

This package was built to help the various downstream SS13 servers stay up to date with TGUI without having to keep a local version of each file.

You can view the code on GitHub.

Installation

(assuming you have a tgui folder, navigate to the specific package)

cd tgui/packages/tgui
yarn add tgui-core

Usage

Now, you can use them like normal TGUI components.

import { Button } from 'tgui-core/components';

<Button>Click</Button>;

You can even use it in tandem with your own in house TGUI components,

import { Button } from 'tgui-core/components';
import { Box } from '../components';

License

MIT

Contributing

Contributions are welcome. Please open an issue or a pull request. I am available on the tgstation discord.