mirror of
https://github.com/imfing/hextra.git
synced 2025-08-25 07:26:34 -04:00
feat(navbar): navbar link icon item (#781)
* chore: extract link code to a partial * feat(navbar): item icon * chore: generate * docs: add configuration * review Co-authored-by: Xin <5097752+imfing@users.noreply.github.com> * chore: generate * chore: add examples * chore: showcase --------- Co-authored-by: Xin <5097752+imfing@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
546bcc2e26
commit
fee0481a6c
@@ -58,20 +58,27 @@ There are different types of menu items:
|
||||
params:
|
||||
type: search
|
||||
```
|
||||
4. Icon
|
||||
4. Icon Only
|
||||
```yaml
|
||||
- name: GitHub
|
||||
params:
|
||||
icon: github
|
||||
```
|
||||
5. Theme Toggle
|
||||
5. Link with Icon
|
||||
```yaml
|
||||
- name: Blog
|
||||
params:
|
||||
type: link
|
||||
icon: rss
|
||||
```
|
||||
6. Theme Toggle
|
||||
```yaml
|
||||
- name: Theme Toggle
|
||||
params:
|
||||
type: theme-toggle
|
||||
label: true # optional, default is false
|
||||
```
|
||||
6. Language Switcher
|
||||
7. Language Switcher
|
||||
```yaml
|
||||
- name: Language Switcher
|
||||
params:
|
||||
|
Reference in New Issue
Block a user