{"id":19436710,"url":"https://github.com/ardelan869/ragemenu","last_synced_at":"2025-04-24T21:31:24.326Z","repository":{"id":257878335,"uuid":"863046541","full_name":"ardelan869/ragemenu","owner":"ardelan869","description":"FiveM native Rage Menu, made with React","archived":false,"fork":false,"pushed_at":"2025-02-11T07:23:00.000Z","size":205,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T11:51:16.876Z","etag":null,"topics":["cfx","fivem","fivem-lua","lua","nativeui","ragemenu","rageui","react","reactjs","tsx","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ardelan869.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-25T16:11:59.000Z","updated_at":"2025-03-21T09:33:05.000Z","dependencies_parsed_at":"2024-11-10T15:12:27.895Z","dependency_job_id":"213bac01-c930-43d1-937c-c98f06310638","html_url":"https://github.com/ardelan869/ragemenu","commit_stats":null,"previous_names":["ardelan869/ragemenu"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardelan869%2Fragemenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardelan869%2Fragemenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardelan869%2Fragemenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardelan869%2Fragemenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ardelan869","download_url":"https://codeload.github.com/ardelan869/ragemenu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250712941,"owners_count":21475106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cfx","fivem","fivem-lua","lua","nativeui","ragemenu","rageui","react","reactjs","tsx","typescript"],"created_at":"2024-11-10T15:12:25.414Z","updated_at":"2025-04-24T21:31:24.054Z","avatar_url":"https://github.com/ardelan869.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ragemenu\n\nFiveM native Rage Menu, built with React. [Documentation](https://docs.ardelanyamanel.com/ragemenu)\n\n## Dependencies\n\n-   [Sumneko LLS for VSCode](https://marketplace.visualstudio.com/items?itemName=sumneko.lua)\n\n## Features\n\n-   High-performance script\n-   Cached component and menu state\n-   Runtime-editable menus and components\n-   Fully typed\n\n## Installation\n\n1. Download the [latest release](https://github.com/ardelan869/ragemenu/releases/latest) from GitHub.\n\n2. Extract the contents of the zip file into your `resources` folder.\n\n3. Add the path of `meta.lua` to your [Sumneko LLS](https://marketplace.visualstudio.com/items?itemName=sumneko.lua) `workspace.library` setting.\n\n4. Add `ensure ragemenu` to your `server.cfg`.\n\n5. Add `@ragemenu/import.lua` to your desired resources `fxmanifest.lua` and start scripting!\n\n## Example\n\n\u003e [!NOTE]\n\u003e The menu offers more components and functions.\\\n\u003e See more [here](https://docs.ardelanyamanel.com/ragemenu)\n\n```lua\n--- you can create a menu once and reopen it at any time\n--- state will be cached and reused\nlocal menu = Menu:Create('Example', 'Example Subtitle', nil, nil, '')\n-- 520 is a custom width, the default is\nlocal submenu = Menu:Create('Submenu', 'Submenu Subtitle', 'top-right', 520)\nsubmenu:AddButton('Submenu Button'):OnClick(function()\n  print('Submenu Button Clicked')\nend)\n\nmenu:AddButton('Button', 'Button Right Label', 'Button Description'):OnClick(function()\n  print('Button Clicked')\nend)\n\nmenu:AddSubmenu(submenu, 'Submenu Label', 'Right Label', 'Submenu Description')\n\nmenu:AddSeparator('Separator')\n\nlocal checkbox = menu:AddCheckbox('Checkbox', 'Checkbox Description', {\n  right = 'card_suit_hearts'\n}, true)\n\ncheckbox:OnCheck(function(checked)\n  print('Checkbox Checked', checked)\nend)\n\nmenu:AddButton('Disable Checkbox'):OnClick(function()\n  checkbox:Disable(not checkbox.disabled)\n  print('Checkbox Disabled', checkbox.disabled)\nend)\n\nmenu:AddButton('Toggle Checkbox Visibility'):OnClick(function()\n  checkbox:ToggleVisiblity(not checkbox.visible)\n  print('Checkbox Visibility', checkbox.visible)\nend)\n\nmenu:AddList('List', 'List Description', {\n  right = 'card_suit_hearts'\n}, {\n  'List Item 1',\n  'List Item 2',\n  'List Item 3'\n}, 1):OnChange(function(current, currentValue)\n  print('List Changed', current, currentValue)\nend)\n\nmenu:AddSlider('Slider', 'Slider Description', {\n  right = 'card_suit_hearts'\n}, 100, 0, 10, 50):OnChange(function(current)\n  print('Slider Changed', current)\nend)\n\nRegisterCommand('example', function()\n  if menu:IsOpen() then\n    menu:Close()\n  else\n    menu:Open()\n  end\nend, false)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardelan869%2Fragemenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fardelan869%2Fragemenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardelan869%2Fragemenu/lists"}