Skip to content

Components

Download .md

Sosialoka components are shadcn components with the Sosialoka tokens, radius and status colors built in, for React and Vue.

React components are built on Base UI and installed with shadcn; Vue components are built on Reka UI and installed with shadcn-vue. Both copy the source into your project, so you own the code.

Install your product’s theme first, then the components you need. The steps for React and Vue are on Web; a single component installs like this:

Terminal window
npx shadcn@latest add https://design.sosialoka.tech/r/react/button.json
npx shadcn-vue@latest add https://design.sosialoka.tech/r/vue/button.json

For Flutter, set up the sosialoka_ui package on Flutter and copy the code from each component’s Flutter tab.

Some components install smaller Sosialoka items with them: toggle comes with Toggle Group, pagination with Table, native-select with the Vue Calendar (for its month and year pickers), and React components use the use-mobile hook. They follow the same tokens, so you can also use them on their own.