@opqa/uiui
v0.1.10
Published
[](https://www.npmjs.com/package/@opqa/uiui) [](https://www.npmjs.com/package/@opqa/uiui) 
- component replacement (you can define a new slider codebase for the component type 'slider')
- theming (altering current css vars or/and the components css modules )
Install
Unfortunatelly this proj is still highly dependent on the react-typescript-library template. So yarn...
yarn add uiuiUsage
You can check the 'example' folder. But in basic terms:
@SomeReactTag.tsx
import { UiUi } from '@opqa/uiui';
...
// Import a UiUi config file
const uiuiData = require('{DATA-URL}.json');
return (<UiUi.Root data={uiuiData}/>)
...
// or, frag-shader (a-la-shadertoy) with UiUiComments
return (<UiUi.Canvas url="{SHADER-URL}.glsl" />)
You can check the Examples Json File
- the UiUiComment Structure on a sample shader
API / Props
TBC
License
MIT © Goncalo Tavares
