@platform/ui.text

Text components.

Usage no npm install needed!

<script type="module">
  import platformUiText from 'https://cdn.skypack.dev/@platform/ui.text';
</script>

README

Module License: MIT NPM banner

Display text and simple text input components.

Setup

yarn add @platform/ui.text

 

CSS

There are a variety of ways to embed references to the web-fonts:

Roboto (Sans)

css.head.importStylesheet(ROBOTO.GOOGLE.URL)
<link href='https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,900&display=swap' rel='stylesheet' />
@import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,900&display=swap');

 

Roboto (Monospace)

css.head.importStylesheet(MONOSPACE.GOOGLE.URL)
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap" rel="stylesheet">
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap')