Design and @sypnia/ui
Why your app does not start from Sypnia's own component library, and when you might choose it anyway.
Sypnia has a look of its own: the night and paper themes, its colours, its fonts, and its «lid and light» icons. That look lives in @sypnia/ui, the library Sypnia’s own products and sites are built with.
Your app does not start from it. If every app made with Sypnia used Sypnia’s pieces, they would all look like Sypnia, and none would look like you. Design gives your project its own pieces, from your own guide.
What is the same and what is not
| Your app with Design | Sypnia’s products | |
|---|---|---|
| Behaviour underneath (keyboard, focus, screen readers, layers) | @sypnia/base, on React Aria | React Aria, inside @sypnia/ui |
| The look | your guide, your tokens, your pieces in your repository | Sypnia’s guide, @sypnia/ui |
| Icons | drawn for you with the construction rules and your signature | the «lid and light» set |
| The gallery | your private gallery | ui.sypnia.com |
So your app feels as solid as Sypnia’s, and looks nothing like it.
If you like Sypnia’s look
@sypnia/ui is a free, open-source library under the MIT license, and anyone can use it. If you want your app to look like Sypnia, install it like any other library. Design will only treat it as your project’s pieces if your guide says so on purpose, in a guide change you approve.