mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
feat(uishell): nav
This commit is contained in:
parent
e24de4e797
commit
f43f684b5c
8 changed files with 127 additions and 2 deletions
10
src/components/UIShell/UIShellNav/UIShellNav.svelte
Normal file
10
src/components/UIShell/UIShellNav/UIShellNav.svelte
Normal file
|
@ -0,0 +1,10 @@
|
|||
<script>
|
||||
export let ariaLabel = undefined;
|
||||
import { cx } from '../../../lib';
|
||||
</script>
|
||||
|
||||
<nav aria-label={ariaLabel} class={cx('--header__nav')}>
|
||||
<ul aria-label={ariaLabel} class={cx('--header__menu-bar')} role="menubar">
|
||||
<slot />
|
||||
</ul>
|
||||
</nav>
|
Loading…
Add table
Add a link
Reference in a new issue