Skip to content
v0.3.0See what changed

Discord-inspired UI, copy-pasted into your project.

98 components for bots, dashboards and community tools that should look at home beside a chat client. Each one ships as a React file, a Vue single file component and plain HTML and CSS, all reading one set of tokens.

components and blocks
98
categories
9
flavours: React, Vue, HTML
3
runtime dependencies
0

Every tile is a component

Pick a brand colour: one token changes and every tile follows. That is the whole theming model.

Build a preset →
  • Message Group
  • Member List
  • Button
  • Poll
  • Embed
  • Voice Channel Row
  • Select Menu
  • User Profile Popout
  • Toast
  • Slash Command Suggestions
  • Invite
  • Reaction Pill
  • Role Tag
  • Tabs
  • Attachment Card
  • Context Menu
  • Progress Bar
  • Badge
  • Server Banner
  • Radio
  • Typing Indicator
  • Thread Preview
  • Form Fields
  • Dropdown Menu

See all 98 components

One command to start

One CLI for both frameworks. It reads your project during init, then writes component source into it. There is no package between you and the markup.

npx newtui@latest initpnpm dlx newtui@latest inityarn dlx newtui@latest initbunx newtui@latest initdeno run -A npm:newtui@latest initvlx newtui@latest initvp dlx newtui@latest initnubx newtui@latest initnlx newtui@latest initupx newtui@latest init
npx newtui@latest add message-group pollnpx shadcn@latest add @newtui/message-group @newtui/pollnpx shadcn-vue@latest add @newtui/message-group @newtui/pollpnpm dlx newtui@latest add message-group pollpnpm dlx shadcn@latest add @newtui/message-group @newtui/pollpnpm dlx shadcn-vue@latest add @newtui/message-group @newtui/pollyarn dlx newtui@latest add message-group pollyarn dlx shadcn@latest add @newtui/message-group @newtui/pollyarn dlx shadcn-vue@latest add @newtui/message-group @newtui/pollbunx newtui@latest add message-group pollbunx shadcn@latest add @newtui/message-group @newtui/pollbunx shadcn-vue@latest add @newtui/message-group @newtui/polldeno run -A npm:newtui@latest add message-group polldeno run -A npm:shadcn@latest add @newtui/message-group @newtui/polldeno run -A npm:shadcn-vue@latest add @newtui/message-group @newtui/pollvlx newtui@latest add message-group pollvlx shadcn@latest add @newtui/message-group @newtui/pollvlx shadcn-vue@latest add @newtui/message-group @newtui/pollvp dlx newtui@latest add message-group pollvp dlx shadcn@latest add @newtui/message-group @newtui/pollvp dlx shadcn-vue@latest add @newtui/message-group @newtui/pollnubx newtui@latest add message-group pollnubx shadcn@latest add @newtui/message-group @newtui/pollnubx shadcn-vue@latest add @newtui/message-group @newtui/pollnlx newtui@latest add message-group pollnlx shadcn@latest add @newtui/message-group @newtui/pollnlx shadcn-vue@latest add @newtui/message-group @newtui/pollupx newtui@latest add message-group pollupx shadcn@latest add @newtui/message-group @newtui/pollupx shadcn-vue@latest add @newtui/message-group @newtui/poll

The shadcn CLI needs the @newtui registry in your components.json. Set it up.

What it is

One token system, three targets

The tokens are declared once and every surface reads them: the plain HTML and CSS build, the React files, and the Vue single file components. Change a token and all three move together.

You own the code

The CLI writes component source into your project and stops there. A component you need to bend is a file you already have, under Apache-2.0.

Built for chat-shaped products

Messages, embeds, polls, slash commands, member lists, voice rows: the parts a bot dashboard or a community tool needs, not another generic card and table set.

No motion by default

Hover, focus, online, do-not-disturb and loading are carried by colour, border and shape — the status dot states its mode by its outline, not by a pulse.

Accessible by construction

Body text meets WCAG AA contrast, every control is reachable by Tab with a visible focus ring, and presence is announced rather than left to colour alone.

Right-to-left ready

Logical properties throughout, so a component mirrors under dir="rtl" without a second stylesheet. Every preview on this site can be flipped to check.

Written for agents too

Most components are now placed by an assistant. The documentation is published in the forms an assistant reads, so it works from the real API and not from a guess.

BlocksWhole views, already assembledA chat window, a server sidebar and a command panel, built from the registry.CreateYour brand, radius and font in one codeSix choices become a preset you paste into init.TypesetChat-style prose for long textHeadings, lists, quotes and code set the way a message renders them.