BASE

Swapy

Swapy

UI library · Free

A library for moving elements between slots: it helps build rearrangeable interfaces and save user layouts.

Also known as: tahash/swapy; swapy; drag-swap-tool

Resource illustration: Swapy

Open resource ↗

What you can use for free

Code and local use under GPL-3.0.

Paid features and costs

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.

Access and limitations

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.

Use cases

  • Rearrange elements between UI slots
  • Connect swapping events to saving the new interface structure

Example workflow

A possible workflow; this is not a report of hands-on testing.

Rearrange elements between UI slots.

Before you start

  • The component's design, states, and data.
  • A compatible framework and the project's styles.

Steps

  1. Define slots and movable layout elements.
  2. Connect swapping events to saving the new interface structure.
  3. Configure styles and check empty, loading, and error states.

Check your result

  • 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.

Choosing Swapy

Rearrange elements between UI slots

Choose this when

  • Rearrange elements between UI slots
  • Connect swapping events to saving the new interface structure

Requirements

  • Connect layout slots/items according to the documentation and choose an applicable license before distributing the application.

Things to consider

  • 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.

Frequently asked questions

What can you use for free in Swapy?

Code and local use under GPL-3.0.

What additional costs might arise with Swapy?

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.

What terms of use matter for Swapy?

GPL-3.0 for the code; derivative distribution requirements are mandatory.

How do you get started with Swapy?

Define slots and movable layout elements. Connect swapping events to saving the new interface structure. Configure styles and check empty, loading, and error states.

How is Swapy licensed for a closed-source application?

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.

License

GPL-3.0 for the code; derivative distribution requirements are mandatory.

GPL 3.0 — open-source code with copyleft

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.

License terms

Custom license — this product's terms apply

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.

Technologies and topics

  • Swapy
  • UI
  • Development

Sources

Other resources