ComponentsTextLink
TextLink
A text link component that can be used to navigate to other pages.
The TextLink
component is a text link component that can be used to navigate to other pages. It uses the Link
component from Next.js to create a link to another page. The TextLink
component can be customized with different styles and options to fit the design of your application.
Props
The TextLink
component accepts the following props:
Name | Type | Default | Description |
---|---|---|---|
children | node | The content of the text link component. | |
href | string | The URL of the page to navigate to. | |
className | string | Additional classes to apply to the text link component. | |
icon | boolean | false | Whether to show an icon next to the text link component. |
grow | boolean | false | Whether to grow the text link component on hover. |
fade | boolean | false | Whether to fade the text link component on hover. |
underline | boolean | false | Whether to underline the text link component on hover. |
underlineHeight | string | px | The height of the underline for the text link component. |
selected | boolean | false | Whether the text link component is selected. |