Skip to content

pglevy/sailwind-eval-references

Repository files navigation

Sailwind Eval References

Handcrafted reference pages used as ground truth for evaluating AI-generated Sailwind prototypes in pglevy/sailwind-eval.

Each page is a carefully built example of a real-world UI pattern using the Sailwind component library. Screenshots are captured at a fixed size so evals have a consistent visual baseline to measure against.

Reference Pages

Page Route Screenshot
My Account /#/my-account screenshots/my-account.png
Restaurant Order /#/restaurant-order screenshots/restaurant-order.png

Capturing Screenshots

Screenshots are saved in /screenshots. Use shot-scraper with the dev server running:

uvx shot-scraper http://localhost:5173/#/my-account -o "screenshots/my-account.png" --width 1600 --height 1000 --retina

Dev Setup

pnpm install
pnpm run dev

Adding a Reference Page

  1. Build the page in src/pages/ using Sailwind components
  2. Add the route to src/App.tsx and a link in src/pages/home.tsx
  3. Capture a screenshot with the command above
  4. Add a row to the table in this README

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors