Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jill64/svelte-page-tab
- Owner: jill64
- License: mit
- Created: 2023-12-12T14:49:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-13T01:43:00.000Z (9 months ago)
- Last Synced: 2024-04-14T00:33:24.645Z (9 months ago)
- Topics: menu, routing, svelte, tab
- Language: Svelte
- Homepage: https://svelte-page-tab.jill64.dev
- Size: 803 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# svelte-page-tab
🎹 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)