{"schemaVersion":1,"id":"swapy","name":"Swapy","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/swapy/","officialUrl":"https://github.com/tahash/swapy","isCatalog":false,"description":"A library for moving elements between slots: it helps build rearrangeable interfaces and save user layouts.","tasks":["Rearrange elements between UI slots","Connect swapping events to saving the new interface structure"],"categoryIds":["frontend","design"],"subcategoryIds":["frontend.components","design.systems"],"tags":["Swapy","UI","Development"],"aliases":["tahash/swapy","swapy","drag-swap-tool"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under GPL-3.0.","paidUsage":"A separate paid Commercial license is offered to keep source proprietary. GPLv3 is another route for a compatible open project complying with its terms. The Commercial license accounts for the team's developers; assess your own infrastructure and selected external services separately.","license":"GPL-3.0 for the code; derivative distribution requirements are mandatory.","selectionGuide":{"purpose":"Rearrange elements between UI slots","chooseWhen":["Rearrange elements between UI slots","Connect swapping events to saving the new interface structure"],"considerInstead":[],"requirements":["Connect layout slots/items according to the documentation and choose an applicable license before distributing the application."],"limitations":["Costs and limits of free use: A separate paid Commercial license is offered to keep source proprietary. GPLv3 is another route for a compatible open project complying with its terms. The Commercial license accounts for the team's developers; assess your own infrastructure and selected external services separately.","Terms of use: GPL-3.0 for the code; derivative distribution requirements are mandatory.","GPLv3 does not prohibit all commercial activity; distinguish GPL rights and obligations from a separate commercial license."],"faq":[{"question":"What can you use for free in Swapy?","answer":"Code and local use under GPL-3.0."},{"question":"What additional costs might arise with Swapy?","answer":"A separate paid Commercial license is offered to keep source proprietary. GPLv3 is another route for a compatible open project complying with its terms. The Commercial license accounts for the team's developers; assess your own infrastructure and selected external services separately."},{"question":"What terms of use matter for Swapy?","answer":"GPL-3.0 for the code; derivative distribution requirements are mandatory."},{"question":"How do you get started with Swapy?","answer":"Define slots and movable layout elements. Connect swapping events to saving the new interface structure. Configure styles and check empty, loading, and error states."},{"question":"How is Swapy licensed for a closed-source application?","answer":"Swapy turns a layout into drag-to-swap and is not tied to one framework. The README offers GPLv3 for open-source applications with a compatible license and a separate commercial license allowing proprietary source. These are two different grounds for using the same tool."}],"related":[],"sources":["https://github.com/tahash/swapy","https://raw.githubusercontent.com/tahash/swapy/HEAD/README.md","https://raw.githubusercontent.com/tahash/swapy/HEAD/LICENSE","https://www.open-source-tools.com/","https://swapy.tahazsh.com/license"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Rearrange elements between UI slots.","inputs":["The component's design, states, and data.","A compatible framework and the project's styles."],"steps":["Define slots and movable layout elements.","Connect swapping events to saving the new interface structure.","Configure styles and check empty, loading, and error states."],"checks":["The keyboard, focus indicators, and a screen reader let users complete the action.","The component works on a narrow screen and with long data values."]},"sources":["https://github.com/tahash/swapy","https://raw.githubusercontent.com/tahash/swapy/HEAD/README.md","https://raw.githubusercontent.com/tahash/swapy/HEAD/LICENSE","https://www.open-source-tools.com/","https://swapy.tahazsh.com/license"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"UI library","kind":"library","pricingNote":"Open-source code is available under GPLv3 and its terms; a separate paid Commercial license based on the team's developer count is offered for proprietary applications. Assess your own infrastructure and external services separately.","notes":null,"labeledSources":[{"url":"https://github.com/tahash/swapy","label":"Official source"},{"url":"https://raw.githubusercontent.com/tahash/swapy/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/tahash/swapy/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://swapy.tahazsh.com/license","label":"Swapy: GPLv3 and commercial license"}],"licenseGuides":[{"id":"gpl-3","title":"GPL 3.0 — open-source code with copyleft","scope":null,"summary":"You can run, modify, and sell the program. When distributing a GPL program or a derivative product based on it, recipients must receive the corresponding source code and GPL rights; GPL-covered code cannot be made closed-source. Ordinary use of a tool does not make your project or the independent outputs it creates subject to GPL.","url":"https://opensource.org/license/gpl-3.0"},{"id":"custom","title":"Custom license — this product's terms apply","scope":null,"summary":"The license name does not imply standard MIT or GPL rights. Its own text determines permission to modify, work commercially, distribute, and use outputs. Follow the use case stated for the product above and the primary source for its terms.","url":null}],"entryIds":[],"composition":null}