FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
jdan
jdandialog
Public
Like
3
dialog
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Sign up now
Code
/
Code
/
Search
Open in new tab
README.md

dialog

Renders windows 98 dialog boxes as SVGs. Using satori and styles from 98.css

Usage

A window with title "Hello" and caption "World" with two buttons – OK and Cancel

https://jdan-dialog.web.val.run/?w=200&h=110&title=Hello&caption=World

  • w (default: 200): the width of the dialog
  • h (default: 110): the height of the dialog
  • title (default: "{title}"): the text in the title bar
  • caption (default: "{caption}"): the caption text
Code
README.md
H
main.tsx
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.