---
name: Navigation Link
menu: Components
---

import { Playground, Props } from 'docz';
import * as Nav from '.';
import { NavigationLinkBase } from './';

# Navigation Link

## Props glossary

A short list of the components properties

<Props of={Nav.Link} />

## Component

<Playground>
  <NavigationLinkBase
    href="#"
    current={false}
    isFocused={false}
    context="bar"
    text="Link Text"
  />
</Playground>

## Current state

<Playground>
  <NavigationLinkBase
    href="#"
    current={true}
    isFocused={false}
    context="bar"
    text="Link Text"
  />
</Playground>

### Focused state

The focus state styling is provided by the _with-focus-style_ hoc

<Playground>
  <Nav.Link
    href="#"
    current={false}
    isFocused={true}
    context="panel"
    text="Link Text"
  />
</Playground>

### Mobile Size S

<Playground>
  <Nav.Link
    href="#"
    current={false}
    isFocused={false}
    context="panel"
    size="S"
    text="Link Text"
  />
</Playground>

### Mobile Size M

<Playground>
  <Nav.Link
    href="#"
    current={false}
    isFocused={false}
    context="panel"
    size="M"
    text="Link Text"
  />
</Playground>

### Mobile Size L

<Playground>
  <Nav.Link
    href="#"
    current={false}
    isFocused={false}
    context="panel"
    size="L"
    text="Link Text"
  />
</Playground>
