Skip to content

AI-native design editor. Open-source Figma alternative.

1.0 KB
Raw Blame
// SceneGraph → HTML and JSX without the CSS runtimes, so browsers can bundle it.
export {
  sceneGraphToDesignDocument,
  sceneNodeToDesignDocument,
  sceneNodesToDesignDocument,
  type SceneGraphToDesignOptions,
  type VectorElementRenderer
} from './projection'
export { exportHTMLBundle } from './bundle'
export {
  designDocumentToTailwindJSX,
  sceneNodesToTailwindJSX,
  sceneNodesToTailwindJSXWithLayers,
  type TailwindJSXWithLayers
} from './tailwind-jsx'
export { serializeHTML } from './html'
export {
  LAYER_COMPONENT_FRAMEWORKS,
  layerComponents,
  layerMarkup,
  type LayerComponent,
  type LayerComponentFramework,
  type LayerMarkup
} from './components/layers'
export { COMPONENT_STYLINGS, type ComponentStyling } from './components/styling'
export * from '../tokens'
export * from '../behaviours'
export type {
  ExportHTMLBundle,
  ExportHTMLBundleOptions,
  ExportHTMLFile,
  WebFontFaceAsset,
  WebFontFaceRequest,
  WebFontFaceResolver
} from './bundle'
export type { DesignDocument, DesignElement, DesignNode } from '../types'