Svelte form blueprint studio with a live schema editor, animated field reordering, and reactive preview modes
A compact Svelte pet project built to demonstrate schema-driven UI the way Svelte makes it feel best: change the structure in the blueprint, tweak a field in the inspector, and watch the preview recompute instantly from the same state.
Mobile, Desktop, and Confirm states fed by the same blueprintanimate:flip list motion for field and section reordering/ - the Formline form blueprint studio| Layer | Technology |
|---|---|
| Framework | Svelte 5 |
| Language | TypeScript |
| Styling | Tailwind CSS 4 + minimal theme layer |
| Motion | animate:flip, keyed transitions, reactive preview swaps |
| Build Tool | Vite 8 |
| Hosting | Static deployment ready |
FieldPalette handles presets, quick field insertion, and live schema metricsBlueprintList owns the editable section and field board with animated reorderingFieldEditor binds directly to the selected field so changes appear in the preview immediatelyLivePreview renders multiple interface states from the exact same blueprint datasvelte-form-blueprint-lab/
├── public/
│ └── favicon.svg
├── src/
│ ├── App.svelte
│ ├── app.css
│ ├── main.ts
│ ├── vite-env.d.ts
│ └── lib/
│ ├── BlueprintList.svelte
│ ├── FieldEditor.svelte
│ ├── FieldPalette.svelte
│ ├── LivePreview.svelte
│ ├── PreviewField.svelte
│ ├── types.ts
│ └── data/
│ └── presets.ts
├── LICENSE
├── netlify.toml
├── package.json
└── README.md
npm install
npm run dev
npm run build
netlify.tomlMIT License. See LICENSE.