<omnitar-card>

Quick Start

Add the following code to your page.

<script type="module" src="https://omnivar.apps.g4v.dev/slack/E0AFSMB25HU/webcomponent.js"></script>

Replace E0AFSMB25HU with your slack team ID

Active User

Then add a omnitar-card element with an email attribute to your page

<omnitar-card email="slack@gavinmogan.com">halkeye</omnitar-card>

Example: gmogan

Assuming that user is on your slack, you should get a nice element with (my) full name and a nice little profile card on hover

Invalid/Inactive User

But if it doesn't match (bad data, expired, etc)

<omnitar-card email="fake@fake.com">initial display</omnitar-card>

Example: user1234

Will show the original tag value, but without any popups