hn.today

Show HN: Alloy CSS, dialogs, menus and tabs that work with JavaScript off

alloyhtml.com181 points32 comments
Screenshot of Show HN: Alloy CSS, dialogs, menus and tabs that work with JavaScript off

Alloy CSS is presented through a single-page mock invoicing app called Ledger, built as one HTML file with no JavaScript. The example demonstrates how CSS and HTML alone can support interface patterns often treated as JavaScript-dependent, including menus, dialogs, tabs, and expandable controls. Its purpose is both a practical showcase of the technique and a realistic-looking interface to explore in the source code.

The invoice dashboard includes summary figures, invoice search and date filters, status tabs, a paginated table, overdue-payment reminders, paid invoices, draft notices, top clients, recent activity, and help questions. It also shows a new-invoice form with client selection, payment terms, work details, and options to save or send. The sample data gives the interface concrete context: 24 invoices, three overdue totaling $4,860, and two unfinished drafts totaling $2,200. A confirmation message indicates a reminder was sent. The app is explicitly fictional, so its figures and workflows illustrate the demo rather than describe a real service. The key point is that a fairly rich, dashboard-style experience can be assembled without JavaScript, making the page useful for readers interested in progressive enhancement, CSS interaction techniques, or accessible web interface design.

Read on alloyhtml.com32 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Web

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.