@nasa-jpl/svelte-stellar
v0.0.1
Published
Svelte components for the [Stellar](https://github.com/nasa-jpl/stellar) design system.
Downloads
3
Maintainers
Keywords
Readme
@nasa-jpl/svelte-stellar
Svelte components for the Stellar design system.
Installation
npm install @nasa-jpl/svelte-stellar @nasa-jpl/stellar --save
Usage
More detailed usage examples can be found on the examples page (implementation).
Before usage make sure you import the base Stellar CSS files. For example if you need everything:
<script lang="ts">
import '@nasa-jpl/stellar/css/index.css';
import '@nasa-jpl/stellar/font/inter/inter.css';
// ...
</script>
Button
<script lang="ts">
import { Button } from '../lib/index.js';
</script>
<Button>Primary</Button>