Appearance

A design for the whole site, in light or dark. Kept on this device.

Design
Mode

React UI blocks

Finished sections to copy into your own app, each one drawn in light and dark, with the whole source on its page.
A block is a composition of the components, not a component: the part of a page that is always half yours. Each one installs with npx shadcn add as files you then edit — the shadcn registry page has the setup.
React invoice data grid, in the light themeReact invoice data grid, in the dark theme
React invoice data grid

A virtualized invoice table with search, column filters, grouping, totals, an editable amount, copy and paste, and CSV/XLSX export.

See it, and the code
React settings form, in the light themeReact settings form, in the dark theme
React settings form

A settings panel of real form controls: text fields, a searchable select, a radio group, a slider and a switch, read on submit with no state.

See it, and the code
React admin dashboard layout, in the light themeReact admin dashboard layout, in the dark theme
React admin dashboard layout

The frame an admin app hangs off: a sidebar, a header with search, a theme toggle and an account menu, and a row of stat tiles.

See it, and the code
React product grid with filters, in the light themeReact product grid with filters, in the dark theme
React product grid with filters

A React product grid with category and colour filters, sorting, an announced result count and cards that are one link each, light and dark.

See it, and the code
React product image gallery, in the light themeReact product image gallery, in the dark theme
React product image gallery

A React product image gallery: one large view and thumbnails that choose it, built as tabs so the arrow keys move between pictures.

See it, and the code
React product variant picker, in the light themeReact product variant picker, in the dark theme
React product variant picker

Colour swatches and sizes as native radio groups, a quantity stepper and an Add to cart button, styled with :has(:checked) and no state.

See it, and the code
React cart items list, in the light themeReact cart items list, in the dark theme
React cart items list

The lines of a React shopping cart: a picture, the options chosen, a quantity stepper, the line price and a remove button.

See it, and the code
React order summary, in the light themeReact order summary, in the dark theme
React order summary

A React order summary: subtotal, discount, shipping, tax and total from the cart, a discount code field and a free-shipping progress bar.

See it, and the code
React credit card form, in the light themeReact credit card form, in the dark theme
React credit card form

A React credit card form: number, name, expiry and security code, formatted as typed, checked on blur, with a card that fills in above.

See it, and the code
React address form, in the light themeReact address form, in the dark theme
React address form

A React shipping address form with the autocomplete tokens browsers fill from, a searchable country select and errors read aloud.

See it, and the code
React shipping method selector, in the light themeReact shipping method selector, in the dark theme
React shipping method selector

Delivery options as selectable cards in React: a native radio group, one tab stop, the chosen card styled with :has(:checked).

See it, and the code