Form dialog
For quick edits without leaving the page. Shows a saving state and stays open if something goes wrong.
- Component
- Radix
- Light and dark
- Keyboard friendly
- Updated last month
Paste this into your agent.
Add a form in a pop-up, with save and cancel to <the page you want it on>. Install it with: npx shadcn add @ollie/form-dialog Pass open and title in as props. Handle onOpenChange and onSubmit yourself; don't fetch inside the component. Keep the ocean theme tokens.
Other takes
More components
- Empty StateWhat to show when there's nothing to show.
- BannerA full-width message at the top of the page.
- Status badgeA coloured label for a status, from your own list.
- Wizard dialogA form in steps, checked as you go.
- Confirm dialog"Are you sure?" done properly, with a red version for deletes.
- Job trayA tray of background jobs and how far along they are.
- Job progressOne job's steps and progress, in detail.
- CommentsA comment thread with a box to reply.
- Offline bannerTells people when they've lost connection, and when it's back.