examples

Saved views & undo

Views are named queries. Switch between them, tweak, undo, and save. A view is just native JSON, so it serializes cleanly to your database or a URL. The sentence under the toolbar is the same query rendered read-only in plain English.
  • product
  • store.reset
  • useHistory
  • formats/text

Add it to your project

One command installs this example with every file and coss ui component it needs, into components/qnot. The code is yours to change; it's MIT. See Install with shadcn.

pnpm dlx shadcn@latest add https://coss.com/qnot/r/saved-views.json

Source

9 files, exactly what installs