<commit_before># Card

A Card component is used to encapsulate pieces of UI that share a common concept or action.


## Example

```html
<Card>
  You're my boy, Blue!
</Card>
```


## Link

If a `to` or `href` prop is passed into the Card component, it will render the [Link](../../../Link) component, which provides additional link-based props.

```html
<Card href='https://www.helpscout.net/'>
  You're my boy, Blue!
</Card>
```


## Props

| Prop | Type | Description |
| --- | --- | --- |
| onBlur | function | Callback when the component is blurred. |
| onClick | boolean or function | Callback when the component is clicked. |
| onFocus | function | Callback when the component is focused. |
| onScroll | function | Callback function when inner Scrollable is scrolled. |
| borderless | boolean | Removes the border from the component. |
| className | string | Custom class names to be added to the component. |
| flex | boolean | Adds flexbox styles to the component. |
| hover | boolean | Adds a hover style to the component. |<commit_msg>Update Link component link [skip-ci]<commit_after># Card

A Card component is used to encapsulate pieces of UI that share a common concept or action.


## Example

```html
<Card>
  You're my boy, Blue!
</Card>
```


## Link

If a `to` or `href` prop is passed into the Card component, it will render the [Link](../../Link) component, which provides additional link-based props.

```html
<Card href='https://www.helpscout.net/'>
  You're my boy, Blue!
</Card>
```


## Props

| Prop | Type | Description |
| --- | --- | --- |
| onBlur | function | Callback when the component is blurred. |
| onClick | boolean or function | Callback when the component is clicked. |
| onFocus | function | Callback when the component is focused. |
| onScroll | function | Callback function when inner Scrollable is scrolled. |
| borderless | boolean | Removes the border from the component. |
| className | string | Custom class names to be added to the component. |
| flex | boolean | Adds flexbox styles to the component. |
| hover | boolean | Adds a hover style to the component. |
{'fraction_non_alphanumeric': 0.11931818181818182, 'fraction_numerical': 0.0, 'mean_word_length': 3.524625267665953, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5303123', 'n_tokens_mistral': 617, 'n_tokens_neox': 592, 'n_words': 272}