Videotex-UI is a React component kit for recreating the look and interaction of French Minitel services in modern web applications. It models the original display as a 40-by-25 grid with eight colors, text attributes such as blinking and inverse video, mosaic graphics, and eight function keys. Its Screen component can render a page with CRT effects and progressively reveal content at 1,200 baud; developers can also switch between ordinary web presentation and Videotex mode. The library is available through npm or the shadcn CLI, and its page-building core works without React, including in server components.
The PageBuilder API places text, colors, and graphics on the grid, while components such as menus, input fields, titles, status rows, and frames add usable controls that retain semantic HTML and keyboard and screen-reader support. Menu navigation supports arrows, number selection, and Enter; function-key buttons can use Minitel-style layouts and shortcuts. A mosaic tool converts images into block graphics using the closest two colors per cell, with optional dithering, proportional sizing, encoding, and PNG export. The project also accounts for reduced-motion preferences and allows font customization; the VT323 font must be supplied separately. Its demo includes a fictional service, a mode switcher, and an image converter.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.