Email or username:

Password:

Forgot your password?
4 comments
Stuart Langridge

@jscholes @simon ah, I came to point out <dialog>, indeed :) this is entirely what it's for, and it's designed well at it

Simon Willison

@sil @jscholes I just shipped a new version that uses dialog and I think it's a lot better, but would love to hear any accessibility feedback on it tools.simonwillison.net/prompt

Thomas Steiner :chrome:

@simon @sil @jscholes I'd engineer it by creating a set of `<template>`s for all dialog types (maybe lazily on demand even) and then `clone()` them whenever I need them. Also, I'd make them completely barebones when it comes to design, so they can fit in wherever.

Thomas Steiner :chrome:

@simon @sil @jscholes Ah, and I see you have an Issue open for this already, but you really want to allow users to only `import` the dialog type(s) they need. Given what you have, an LLM should be able to get you there.

Go Up