← ui-lab

Spreadsheet

An Excel-class grid composing 2-D rectangular range selection with in-cell editing. Shift+Arrow extends the selection and Ctrl/Cmd+A selects all; Enter, F2, or a double-click edits the focused cell (Enter commits, Escape cancels), and arrow keys while editing move the caret rather than the selection.

Preview

A1
B1
C1
A2
B2
C2
A3
B3
C3

Installation

npx shadcn@latest add https://ui.publictheta.com/r/spreadsheet.json

Conformance

This component conforms to the @publictheta/ui-spec spreadsheet specification. Run the suite against any implementation with pnpm conformance.