r.Back to RepoShelf

REPOSHELF

Open-source licences

The UI components section is built from open-source code. This page gives the licence notices that go with it. They also travel with the code you copy or download.

1. UI components

The components, their supporting files and the prompts-to-code examples in the UI section are provided under the MIT licence.

2. shadcn/ui

The previews are built on the shadcn/ui component set, which is also MIT licensed.

3. Libraries in the live previews

The live previews bundle open-source libraries, each under its own licence (MIT, ISC or Apache-2.0): React, Radix UI, Base UI, Tailwind CSS, lucide-react, class-variance-authority, cmdk, date-fns, react-day-picker, react-hook-form, Recharts, Sonner, Vaul, Embla Carousel, dnd kit, TanStack Table and Virtual, Headless Tree, motion, input-otp, zod and others. Their licences are available from their projects.

4. RepoShelf showcase components, live backgrounds and text effects

The expressive components, micro-interactions and cursor effects at the top of the UI list, the live backgrounds in Studio and Studio’s newer text effects are original RepoShelf code, apart from the Sea Glass family described in section 5. They are plain HTML, CSS, JavaScript and WebGL, and use no third-party component or shader source.

Their interaction ideas follow patterns that are common across the web, and some were inspired by the effects shown in the React Bits project by David Haz. React Bits is licensed under MIT with the Commons Clause, which does not allow its components to be redistributed. None of its code is included here.

5. Sea Glass components

The Sea Glass components in the UI list (glass buttons, toolbar, colour pebbles, shapes and the full material playground) are a port of the open-source Sea Glass web playground by mttmcknn, licensed under the Apache License, Version 2.0. The upstream project does not state a copyright holder beyond its author’s name, so we credit it as Sea Glass by mttmcknn.

Changes made by RepoShelf: the ES modules were combined into one classic script and their exports and imports removed; every style rule was scoped to a root element so the component can sit inside any page; innerHTML assignments were replaced by DOMParser calls and the playground no longer saves its state in local storage; the buttons, toolbar, colour pebbles and shapes components were cut from the playground’s own markup and styles. The descriptions and prompts are new. These components do not use the RepoShelf showcase licence above: the Apache License applies to them, and each one carries its notice in its code and in its download.

Apache License, Version 2.0 (as supplied with Sea Glass)

6. Your use

You may use, copy and change the code in your own projects, including commercial ones, as long as the licence notice that comes with the code stays with it (for Sea Glass, that notice and the Apache License, Version 2.0). RepoShelf’s own pages, branding and written prompts are covered by our Terms of Service.