j3w1 / LinkVue · HTML · React · Astro

J3W1 / DESIGN SYSTEM

Link

The native anchor for navigation; always underlined in the link-underline role, hover fills with the strong hover surface, the current page carries a 2px indicator bar.

stable · LIGHT DOM · 1.1.0

Light DOM retains static content, native semantics, label relationships and host composition without duplicating controls.

Live variants

default

<j3w1-link id="example-link-default"><p class="link-prose">Every value on this page comes from the <a class="link" href="#example-link-default-tokens">token tables</a>, which the exports embed by tag.</p><p id="example-link-default-tokens" tabindex="-1" class="j3w1-example-target">Example destination: tokens</p></j3w1-link>

standalone

Browse every component

<j3w1-link id="example-link-standalone"><a class="link link-standalone" href="#example-link-standalone-components">Browse every component<svg class="link-icon" aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"><path d="M3 8h9M8.5 4.5L12 8l-3.5 3.5"></path></svg></a><p id="example-link-standalone-components" tabindex="-1" class="j3w1-example-target">Example destination: components</p></j3w1-link>

current

Link

<j3w1-link id="example-link-current"><a class="link link-standalone" href="#example-link-current-c-link" aria-current="page">Link</a><p id="example-link-current-c-link" tabindex="-1" class="j3w1-example-target">Example destination: c link</p></j3w1-link>

Install and register

Use the exact version. If npm publication is pending, install the release tarball from the installation guide.

npm install --save-exact @j3w1/ui@1.1.0
import '@j3w1/ui/tokens.css';
import '@j3w1/ui/styles/link.css';
import '@j3w1/ui/register/link';

Insert the maintained markup above after loading these imports. Its native children provide accessible names and form behavior; the empty custom tag alone does not create a control.

Vue SFC, React, Astro and plain HTML integration →

Copy the complete implementation

npx --package=@j3w1/ui@1.1.0 j3w1-ui copy link --out ./vendor/j3w1/link

The CLI verifies every file before writing and refuses overwrites. Serve the output over HTTP and open index.html. Keep its modules, CSS, tokens and licence notices together.

Public API

attributes

NameType / signatureMeaning
disabledCustomEventDisable the native controls owned by this instance.
loadingCustomEventMark the primary control busy and prevent duplicate activation.

properties

NameType / signatureMeaning
disabledbooleanDelegates disabled state to native children.
namestringNative control name; application form keys remain explicit.

methods

NameType / signatureMeaning
refresh(): voidReconnect behavior after replacing native child structure.
focus(options?: FocusOptions): voidFocus the first usable native control.

events

NameType / signatureMeaning

Dependencies and verification

Registered components: none. Style dependencies: none.

Package presence establishes an available implementation. Actual passes depend on the tested artifact and environment. Read specification execution evidence; read packed-consumer evidence; inspect the complete state matrix.

Full implementation manifest, API and token dependency closure

j3w1 / command

  • SPEC Overview
  • SPEC Foundations
  • SPEC Components
  • SPEC Patterns
  • SPEC Tokens
  • SPEC Tools
  • SPEC Implement
  • SPEC For agents
  • SPEC Ports
  • SPEC Releases
  • DEMO Vue application demo
  • SPEC Complete UI theme specification