Skip to main content

UIC Examples

Hello, Button

To use a UIC component in your app, import it into your .svelte file and customize actions, labels etc.

<script>
import { Button } from "@okcontract/uic";
let disabled = false;
// const logEvent = ...
</script>

<Button label="Click me!" {disabled} action={() => logEvent("click", event)}></Button>

Find more about on GitHub