SchemaVaults React.js UI component library package. Here's the @schemavaults/ui Storybook.js site which previews some of the utilities and UI components avaialble.
import "@schemavaults/theme/globals.css"
// ...
const config = configFactory.createConfig({
content: ["./src/**/*.ts|tsx|js|jsx", "../../packages/ui/dist/**/*.ts|tsx|js|jsx"]
});
export default config;
"use client";
import { Button } from "@schemavaults/ui";
import type { ReactElement } from "react";
function MyButton(): ReactElement {
return (
<Button>Submit</Button>
)
}
This project contains a Storybook.js setup.
Run the Storybook development server:
bun run storybook
Find a live version of the SchemaVaults UI Storybook site at: ui.schemavaults.com
Build a production version of the site with:
bun run build:storybook