import { ComponentInfo, Link, Tagline } from "@stories/components";
import { Meta } from "@storybook/addon-docs";

<Meta
    title="Html elements/Nav"
    id="html-nav"
/>

# Nav

<Tagline>A specialized <Link href="?path=/docs/box--default-story">box</Link> component for HTML nav element.</Tagline>

<ComponentInfo
    usage={"import { Nav } from \"@sharegate/orbit-ui\";"}
    githubPath="/packages/components/src/html/src"
/>

## Usage

A nav component accepts all the [nav HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav) and [Orbit styled component props](?path=/docs/styling--page).

```jsx
<Nav color="alias-tertiary">
    <UL>
        <LI><TextLink href="#">Missions</TextLink></LI>
        <LI><TextLink href="#">Launches</TextLink></LI>
        <LI><TextLink href="#">Careers</TextLink></LI>
    </UL>
</Nav>
```
