@ausbom/linklist
v0.4.38
Published
> Linklists are a continuous group of text. They are composed of items containing primary and supplemental navigation actions.
Downloads
380
Keywords
Readme
@ausbom/linklist
Linklists are a continuous group of text. They are composed of items containing primary and supplemental navigation actions.
API Docs
Installation
npm install @ausbom/linklist
Usage
import Linklist, { LinklistItem } from '@ausbom/linklist'
import React from 'react'
// Normal Usage
<Linklist>
<LinklistItem as="a" href="#" id="1">Government services</LinklistItem>
<LinklistItem as="a" href="#" id="2">Industry services</LinklistItem>
<LinklistItem as="a" href="#" id="3">Partner with us</LinklistItem>
<LinklistItem as="a" href="#" id="4">Projects and research</LinklistItem>
</Linklist>
// Dark and Small Usage
<Linklist dark small>
<LinklistItem as="a" href="#" id="1">Government services</LinklistItem>
<LinklistItem as="a" href="#" id="2">Industry services</LinklistItem>
<LinklistItem as="a" href="#" id="3">Partner with us</LinklistItem>
<LinklistItem as="a" href="#" id="4">Projects and research</LinklistItem>
</Linklist>