Illustrations
The package ships the three illustrations used by the Error Page. They are plain SVG files from the design file.
Using an illustration
Section titled “Using an illustration”Import the file by its package path. How a bundler turns an SVG import into a URL differs; with
Vite, add ?url:
import art from '@beyul/sulmu-ui/illustrations/error-404.svg?url'
<ErrorPage illustration={<img alt="" src={art} />} title="..." />errorPageCopy[code].illustration names the right file for each error code.