Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jill64/svelte-page-tab

🎹 Tab menu component that uses page as a state
https://github.com/jill64/svelte-page-tab

menu routing svelte tab

Last synced: about 2 months ago
JSON representation

🎹 Tab menu component that uses page as a state

Awesome Lists containing this project

README

        

# svelte-page-tab

npm-version npm-license npm-download-month npm-min-size ci.yml website

🎹 Tab menu component that uses page as a state

## [Demo](https://svelte-page-tab.jill64.dev)

## Installation

```bash
npm i svelte-page-tab
```

## Usage

```svelte

import { TabItems } from 'svelte-page-tab'



ul {
/* list styles */
}
ul :global(li) {
/* list item styles */
}
ul :global(a) {
/* list item link styles */
}
ul :global(a[data-current-location]) {
/* list item link (current location) styles */
}

```

## License

[MIT](LICENSE)