Components

Link

<Link />

Constructor

Styled form of Link element.

Usage:

import { Link, LinkProps } from 'admin-bro'

View Source admin-bro/src/frontend/components/design-system/atoms/link.tsx, line 97

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/src/frontend/components/design-system/atoms/link.tsx, line 126