Blocks

sortui blocks: 7 sections with preview

All 7 blocks sortui publishes, with categories, file counts and licence. The table ranks the sections with the most files and links every block page.

Key points

  • 7 blocks, 6 of them composing a complete AI chat.
  • MIT licence and only eight files: readable in an afternoon.
  • Everything around chat is missing: auth, data, payments.

sortui publishes 7 blocks in 8 files: six are interface for an AI chat, sidebar, thread, welcome, model picker, prompt input, effort slider, and one is a widget called Sleep. It is a catalogue vertical on a single flow.

Blocks with the most files

BlockRegistryFilesCategory
Effort Slidersortui2ai
Chat Sidebarsortui1ai
Chat Threadsortui1ai
Chat Welcomesortui1ai
Model Pickersortui1ai
Prompt Inputsortui1ai
Sleep Widgetsortui1widgets

What this source contains

  • Repository: sortui/ui
  • Site: https://sortui.dev
  • Licence: MIT (LICENSE file in the sortui/ui repository)
  • Categories: taken from the publisher's manifest, not invented.

When to use it

It pays off when you are building a language-model client and want the hard parts done: input with attachments, model picker, scrolling thread. It does not suit a generic app: outside chat there is only one block.

An AI chat in six blocks

The six blocks compose a complete interface: Chat Sidebar for history, Chat Welcome for the empty state, Chat Thread for messages, Model Picker for selection, Prompt Input for writing, Effort Slider for reasoning cost. It is a functional split, not an aesthetic one.

Dependencies are @base-ui/react, lucide-react and cn, plus a long list of @sortui primitives: bubble, message, message-scroller, attachment, prompt-input, kbd, sidebar. The visible block is the tip; underneath sits a publisher design system.

Effort Slider opens two files, all others one. With eight files in total the catalogue is small enough to read in an afternoon, and the MIT licence makes it easy to try. The limit is that it covers no authentication, payments or persistence: chat works, the product around it does not.

curl "https://ui.eneawork.it/api/blocks?source=sortui-ui&limit=8"

Three examples from the table: Effort Slider, Chat Sidebar, Chat Thread; the full inventory is at /blocks. For the counting method read how the block catalogue is built, for the copy-versus-compose comparison read the economics of sections, and for heroes read the shadcn hero guide.

Frequently asked questions

How many blocks does sortui have?

Seven blocks in eight files, measured on 1 November 2026: six compose an AI chat and one is the Sleep widget.

What licence does sortui use?

MIT in the sortui/ui repository. The catalogue shows see source, so confirm it in the repository LICENSE file.

Do the blocks make a complete chat?

For the interface yes: sidebar, welcome, thread, model picker, prompt input and effort slider. Authentication, persistence and payments are missing.

Which dependencies does a chat bring?

Base UI, lucide-react and cn, plus @sortui primitives such as message, message-scroller, attachment, prompt-input and kbd.

What is the Effort Slider for?

It sets how much reasoning to spend on a request. It is the only two-file block and concerns model cost, not appearance.