@hig/text-link

    1.2.0 • Public • Published

    Text Link

    Text Links directs visitors to another location on the page, within the product, or to an external site.

    Read more about when and how to use the Text Link components on the HIG website.

    Getting started

    yarn add @hig/text-link @hig/theme-context @hig/theme-data
    

    Import the component and CSS

    import TextLink from '@hig/text-link';
    import "@hig/fonts/build/ArtifaktElement.css";
    

    Basic usage

    <TextLink link="https://github.com/Autodesk/hig">
      This is a primary text link
    </TextLink>

    Custom CSS

    Use the className prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.

    Keywords

    none

    Install

    npm i @hig/text-link

    DownloadsWeekly Downloads

    13

    Version

    1.2.0

    License

    Apache-2.0

    Unpacked Size

    114 kB

    Total Files

    5

    Last publish

    Collaborators

    • devfoncy
    • hig-bot
    • nfiniteset
    • wmui51
    • staceyshk
    • sherm.newsom
    • grantkellyadsk