Sharingan

Tapwire · wallet infrastructure

One tap. Zero friction.

Instant wallet connections, live status for every session, and infrastructure built for scale.

Learn more

Iso deck

A macro pad in isometric line art: a cursor selects the floating tile, a tooltip types the tagline and the keys spell a word. Hover the keys to press them, type the word to connect the deck.

Use when: Developer tools, APIs, wallets and infrastructure that want a crafted, playful object instead of a screenshot: one action, made tangible.

Engine: DOM (HTML, SVG, CSS 3D), every browser

Render: …

npx shadcn@latest add @sharingan/iso-deck

First time? Add the @sharingan registry to your project: getting started.

Add ?motion=final to the address for the repeatable still frame, or ?motion=off for the reduced-motion version.

Props

content what the hero says, real text in the DOM

Iso deck content
NameTypeDefaultDescription
eyebrowstring (≤ 48 chars)—A short line above the headline.
headline *string (8–60 chars)—The promise in two short lines, 3–8 words.
subheadlinestring (≤ 160 chars)—One or two sentences under the headline.
primaryCtaobject—
label *string (2–28 chars)—Action verb first, 1–4 words.
href *string (≥ 1 chars)—
secondaryCtaobject—
label *string (2–28 chars)—Action verb first, 1–4 words.
href *string (≥ 1 chars)—
keyCtaobject—The deck's front key, a link of its own (for example to a demo or the docs).
label *string (2–14 chars)—Printed on the deck's big front key: 1–2 short words.
href *string (≥ 1 chars)—
taglinestring (≤ 60 chars)—Typed in the tooltip beside the floating tile: one short sentence.
connectedLabelstring (≤ 32 chars)—Shown in the tooltip once the visitor spells the deck's word.

config how it looks and moves; attributes on the Web Component

Iso deck config
NameTypeDefaultDescription
keysstring"START"The word on the keys, 3–6 letters or digits. Typing it on the page (or pressing the keys in order) connects the deck.
wideKeystring (≤ 10 chars)"Connect"The label of the wide key under the letters; empty for none.
rowsinteger (1–2)2One row of keys, or two (with the wide key).
knobbooleantrueA knob beside the keys; its dial follows the meter.
screenbooleantrueA screen with a level meter that jumps with each key.
cable"right" | "left" | "none""right"Where the coiled cable leaves the deck.
accentstring (≥ 1 chars)"var(--brand, oklch(0.84 0.17 145))"The brand colour: the front key, the meter's top and the connected state.
accentAltstring (≥ 1 chars)—The second tone (the floating tile, the meter's low end). By default it is derived from the accent.
loopbooleantrueWhile nobody plays with it, the deck tells its story: select, explain, spell.
keyboardbooleantrueTyping the word on the page presses the keys, while the hero is on screen.

The same hero as a Web Component

Web Component · no framework

<sg-iso-deck>

The same engine, driven by attributes: another word, a blue accent and the cable on the left. The deck is drawn after the copy.

Docs

Sharingan is made by Dilane Kombou.

Open source under the MIT licence.