mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
30 lines
552 B
Markdown
30 lines
552 B
Markdown
# Utopia UI
|
|
Reuseable React Components to build mapping apps for all kinds of communities
|
|
|
|
|
|
## Getting Started
|
|
|
|
install via npm
|
|
```
|
|
npm install utopia-ui
|
|
```
|
|
|
|
import in your React App
|
|
|
|
```
|
|
import Map from 'utopia-ui'
|
|
```
|
|
|
|
use the Map UI Component
|
|
|
|
```
|
|
<Map height='100vh' width='100hw'></Map>
|
|
```
|
|
|
|
## Options
|
|
|
|
|
|
Option | Type | Default | Description
|
|
--- | --- | --- | ---
|
|
height | x | |
|
|
width | x | | |