Skip to main content
Glama
deleonio
by deleonio
aria-current.tsx801 B
import React from 'react'; import { KolNav } from '@public-ui/react-v19'; import { SampleDescription } from '../SampleDescription'; import type { FC } from 'react'; export const NavAriaCurrent: FC = () => ( <> <SampleDescription> <p> This sample shows KolNav with a link to the current page. This makes the component automatically assign <code>aria-current=&quot;page&quot;</code> to it. </p> </SampleDescription> <KolNav class="block w-sm" _label="Main navigation" _links={[ { _label: 'Homepage', _href: '#/back-page', }, { _label: 'Nav - aria-current (Current page)', _href: '#/nav/aria-current', // Please don't change this link. It's necessary to be the "current page" for the sample. _active: true, }, ]} /> </> );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server