TGlide / svelte-radial-menu

Radial Menu Experiment. Based on Rauno's Work

Home Page:https://svelte-radial-menu.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svelte Radial Menu

Radial Menu Experiment. Based on Rauno's Work

Built with SvelteKit Built with Typescript

Table of Contents

Description

This is a simple radial menu experiment, based on Rauno's work. You can check the original experiment here.

There are some differences between this project and the original one, mainly:

  • It's open-source (I think Rauno's is not, but I'm not sure)
  • Built with Svelte instead of React
  • Allows from 3 to 8 items

Future of this project

If this gains traction, I'll add more features to it. Some of the features I thought of are:

  • npm package
  • Callbacks for each item
  • Different triggers (e.g. ctrl + hold click)
  • Theming (?)

Installation

1. Clone the repo

git clone https://github.com/TGlide/svelte-radial-menu
cd svelte-radial-menu

2. Install dependencies

pnpm i

Usage

Run App

pnpm run dev

Preview

You can check out a live preview here

About

Radial Menu Experiment. Based on Rauno's Work

https://svelte-radial-menu.vercel.app

License:MIT License


Languages

Language:CSS 41.4%Language:Svelte 28.0%Language:JavaScript 22.3%Language:TypeScript 4.2%Language:SCSS 2.9%Language:HTML 1.2%