declarative rich-document primitives.
import { Studio, Page, Section, Paragraph, Span, Table, List, Callout } from '@vibestartup/doc'
export default function Spec() {
return (
<Studio kind="doc">
<Page title="widget spec">
<Section heading="overview" level={2}>
<Paragraph><Span>this is the widget.</Span></Paragraph>
</Section>
</Page>
</Studio>
)
}primitives: Page, Section, Paragraph, Span, Block, Embed, Table, List, Figure, Callout.
MIT.