# Anchor
```rust demo
view! {
}
```
```rust demo
view! {
}
```
### Anchor Props
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| class | `OptionalProp>` | `Default::default()` | Additional classes for the anchor element. |
| offset_target | `Option` | `None` | The element or selector used to calc offset of link elements. If you are not scrolling the entire document but only a part of it, you may need to set this. |
| children | `Children` | | Anchor's children. |
### AnchorLink Props
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| class | `OptionalProp>` | `Default::default()` | Additional classes for the anchor link element. |
| title | `MaybeSignal` | | The content of link. |
| href | `String` | | The target of link. |
| children | `Option` | `None` | AnchorLink's children. |