Excalidraw
Example
Usage
Draw a diagram in excalidraw with the default colors and export it as a svg without a background.
Import that svg and use it with the excalidraw component, colors will be automatically changed to your theme colors.
<script lang="ts">
import { Excalidraw } from '@fuxui/visual';
import svg from '$docs/assets/demo.svg?raw';
</script>
<Excalidraw {svg} alt="Excalidraw Demo" caption="This is a demo of the Excalidraw component." />