Pieces and gallery
The accessible base underneath, your own styled pieces on top, and the gallery that says what each one is for.
Every screen in your app is built from pieces. Each piece has two layers: a shared base that makes it work for everyone, and your look on top. The gallery ties them together.
@sypnia/basegives every piece its behaviour: keyboard, focus, screen readers, layers and phone behaviour. It has no look.- Your components, in
src/design/of your repository, give every piece your look, from your tokens. They are yours. - Your gallery says which piece is for what, how they combine, and which screen pattern fits each kind of case.
@sypnia/base: the behaviour every piece needs, with no look of its own.
Pieces with your look, generated into your repository, and yours to keep and change.
Which piece to use for what, how to combine them, and every piece shown live.
Which screen shape fits each kind of use case, and the states every pattern must design.
Why your app does not start from Sypnia's own component library, and when you might choose it anyway.