Components

Link

<Link />

Styled form of Link element.

Usage

import { Link, LinkProps } from '@admin-bro/design-system'
See:

View Source admin-bro-design-system/src/atoms/link.tsx, line 107

Examples

All color variants

With icons

Type Definitions

object

# LinkProps

Prop Types of a Link component. Apart from those explicitly specified below it extends all ColorProps, and SpaceProps

Properties:
Name Type Attributes Description
... string <optional>

All props default to a html component like href, onClick etc.

... string <optional>

Other props from ColorProps and SpaceProps

uppercase boolean <optional>

Defines if link should be uppercase

variant 'primary' | 'danger' | 'success' | 'info' | 'secondary' <optional>

Color variant

size 'sm' | 'lg' <optional>

Size variant

View Source admin-bro-design-system/src/atoms/link.tsx, line 137