@swopstar/react-ui
v0.2606.2
Published
Shared React component library for swop* projects
Downloads
231
Readme
Shared React component library for swop* projects. Built on shadcn/ui.
Installation
npm install @swopstar/react-uiUsage
Import the stylesheet once at your app root, then wrap with ThemeProvider:
import "@swopstar/react-ui/style.css";
import { ThemeProvider } from "@swopstar/react-ui";
export default function App() {
return (
<ThemeProvider seedColor="#EE5300" mode="auto">
{/* your app */}
</ThemeProvider>
);
}See Shell → ThemeProvider in Storybook for a live colour picker and radius controls.
