2022-03-12 01:34:09 -08:00
---
title: Introduction
---
2022-03-09 23:17:28 -08:00
2022-03-12 01:34:09 -08:00
## What is Omorphia?
2022-03-09 22:18:22 -08:00
2022-03-12 01:34:09 -08:00
Omorphia is Modrinth's style and reusable component library for use in all of its frontend applications, including [knossos ](https://github.com/modrinth/knossos ) (modrinth.com), [theseus ](https://github.com/modrinth/theseus ) (launcher), and planned projects such as Modrinth's in-house auth and ad-server.
2022-03-10 00:08:59 -08:00
It uses [Svelte ](https://svelte.dev/ ) to deliver the best performance with the least boilerplate.
2022-03-12 01:34:09 -08:00
## Getting started
2022-03-10 00:08:59 -08:00
2022-03-12 01:34:09 -08:00
Adding Omorphia to your project is as easy as:
2022-03-10 00:08:59 -08:00
```bash
2022-03-12 01:34:09 -08:00
pnpm add omorphia
2022-03-10 00:08:59 -08:00
```
2022-03-12 01:34:09 -08:00
### Components
2022-03-10 00:08:59 -08:00
2022-03-29 00:44:23 -07:00
Use a component by importing from `omorphia` . For example, use the [Button component ](/components/Button ) like so:
2022-03-10 00:08:59 -08:00
2022-05-07 17:22:33 -07:00
```svelte example raised
2022-03-29 00:44:23 -07:00
<script lang="ts">
2022-06-04 00:46:23 -07:00
import { Button } from 'omorphia'
2022-03-29 00:44:23 -07:00
</script>
2022-03-10 00:08:59 -08:00
2022-03-29 00:44:23 -07:00
<Button color="primary">I'm a button!</Button>
2022-03-10 00:08:59 -08:00
```
For more information on each component, check out the pages on the sidebar navigation.
2022-03-12 01:34:09 -08:00
> To get Svelte language support in your code editor, [use this list of extensions.](https://sveltesociety.dev/tools#editor-support)
2022-03-10 00:08:59 -08:00
2022-03-12 01:34:09 -08:00
### Using icons and styles
2022-03-10 00:08:59 -08:00
2022-05-20 00:10:45 -07:00
Follow the guides on the sidebar to learn how to use [icons ](/getting-started/icons ) and general concepts.