Files
AstralRinth/src/routes/components/NavRow.md

573 B

NavRow works well for most horizontal navigation with less than 10 items. It can be used with paths & query params, and supports specific path level (depths).

<script lang="ts">
    import NavRow from "omorphia/components/NavRow.svelte";
</script>

<NavRow
    level={1}
    links={[
        {
            href: '/Button',
            label: 'Button'
        },
        {
            href: '/Link',
            label: 'Link'
        },
        {
            href: '/NavRow',
            label: 'NavRow'
        }
    ]}>
    Click for fun
</NavRow>