blacksmithgu / datacore

Work-in-progress successor to Dataview with a focus on UX and speed.
MIT License
1.25k stars 11 forks source link

feat: support some useful components for basic ui #44

Closed Quorafind closed 1 week ago

Quorafind commented 2 weeks ago
Quorafind commented 2 weeks ago

Clip_2024-06-20_23-40-22

blacksmithgu commented 1 week ago

Checking this out locally now!

Quorafind commented 1 week ago

You can try this via

```datacorejsx
return function View() {
    return <>
    <dc.Group justify="start">
                <dc.Checkbox />
                <dc.Stack justify="center">
                    <dc.Slider max={10} min={1} steps={2} />
                </dc.Stack>
                <dc.Stack justify="center">
                    <dc.Switch />
                </dc.Stack>
                <dc.Icon icon={"x"} />
              <dc.VanillaSelect options={[{value: "new", label: "new"},{value: "old", label:"old"}]} defaultValue={"new"} />
            </dc.Group>
    </>

}
blacksmithgu commented 1 week ago

Looks great!