link

v4.9.10arrow_drop_down
v4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
166
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
26 KB
The Link component allows you to easily customize anchor elements with your theme colors and typography styles.
2 contributors
Install link as a package?
Copied
npm i @bit/mui-org.material-ui.link
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
modifieddraft
chevron_left
chevron_right
link ()
Properties
NameTypeDescription
children
(required)
node

The content of the link.

classes
(required)
object

Override or extend the styles applied to the component. See CSS API below for more details.

className
string
color
'initial' | 'inherit' | 'primary' | 'secondary' | 'textPrimary' | 'textSecondary' | 'error'

The color of the link.

component
custom

The component used for the root node. Either a string to use a DOM element or a component.

onBlur
function
onFocus
function
TypographyClasses
object

classes prop applied to the Typography element.

underline
'none' | 'hover' | 'always'

Controls when the link should have an underline.

variant
string

Applies the theme typography styles.

Help and resources