svelte-sidebar-menu
TypeScript icon, indicating that this package has built-in type declarations

0.9.12 • Public • Published

Svelte-Sidebar-Menu

npm version npm downloads release license

Installation

npm i -D svelte-sidebar-menu@latest

Demo

Svelte-Sidebar-Menu

Features

Inert

HTMLElement.inert makes the browser to ignore user input events for the element. For example, when a user press a tab key, it cycles down links and input fields.

Test Svelte-Sidebar demo by pressing the tab keyboard when the sidebar closed and opened. When the sidebar is closed, the tab ignores the sidebar links and when it is open the tab goes throught the menu links.

Responsive Top Menu Fixed

Repo

The demo set the breaking point at 1024. When the window is greater than 1024px, the sidebar is kept open. When the winddow is less than 1024px, the sidebar is open by the bars at top-left.

To make the sidebar responsive, add the following to all files:

Responsive no transition

Repo

Flowbite-Svelte Sidebar

Transition

Repo

Top menu fixed

Repo

Inert

Repo

Custome style

Scroll

Repo

Top menu (not fixed)

Repo

Article

A Svelte Sidebar Menu Component Implemented with Tailwind CSS

Package Sidebar

Install

npm i svelte-sidebar-menu

Weekly Downloads

68

Version

0.9.12

License

MIT

Unpacked Size

62.6 kB

Total Files

34

Last publish

Collaborators

  • shinichiokada