Skip to content
Snippets Groups Projects
readme.md 2.4 KiB
Newer Older
Tuukka Turu's avatar
Tuukka Turu committed
# hy-hero

<!-- Auto Generated Below -->

## Properties

| Property       | Attribute       | Description | Type                                                                                                     | Default                 |
| -------------- | --------------- | ----------- | -------------------------------------------------------------------------------------------------------- | ----------------------- |
| `colorVariant` | `color-variant` |             | `HeroColorVariant.black \| HeroColorVariant.blue \| HeroColorVariant.fp_white \| HeroColorVariant.white` | `HeroColorVariant.blue` |
| `description`  | `description`   |             | `string`                                                                                                 | `undefined`             |
| `headerstyle`  | `headerstyle`   |             | `string`                                                                                                 | `'common'`              |
| `heading`      | `heading`       |             | `string`                                                                                                 | `undefined`             |
| `image`        | `image`         |             | `string`                                                                                                 | `undefined`             |
| `isExternal`   | `is-external`   |             | `boolean`                                                                                                | `false`                 |
| `scLabel`      | `sc-label`      |             | `string`                                                                                                 | `undefined`             |
| `url`          | `url`           |             | `string`                                                                                                 | `undefined`             |
| `urlTitle`     | `url-title`     |             | `string`                                                                                                 | `undefined`             |
Tuukka Turu's avatar
Tuukka Turu committed

## Dependencies

### Depends on

- [hy-heading](../heading)
- [hy-cta-button](../cta-button)
- [hy-box](../hy-box)
Tuukka Turu's avatar
Tuukka Turu committed

### Graph

```mermaid
graph TD;
  hy-hero --> hy-heading
  hy-hero --> hy-cta-button
  hy-hero --> hy-box
  hy-heading --> hy-box
  hy-cta-button --> hy-icon
Tuukka Turu's avatar
Tuukka Turu committed
  style hy-hero fill:#f9f,stroke:#333,stroke-width:4px
```

---

Helsinki University Design System