{
  "$schema": "https://ui.shadcn.com/schema/registry.json",
  "name": "newt-ui",
  "homepage": "https://newtui.dev",
  "items": [
    {
      "name": "accordion",
      "type": "registry:ui",
      "title": "Accordion",
      "description": "Sections that open and close under their headings, one at a time or independently.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/accordion.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "action-row",
      "type": "registry:ui",
      "title": "Action Row",
      "description": "The row of buttons and selects attached under a message.",
      "registryDependencies": ["button"],
      "files": [
        {
          "path": "registry/bases/newt/ui/action-row.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "ai-chat",
      "type": "registry:block",
      "title": "AI chat",
      "description": "A conversation with an assistant: starter prompts, markdown replies, a typing state and the composer, composed from the registry.",
      "registryDependencies": [
        "chat",
        "message-list",
        "message-group",
        "message-composer",
        "markdown",
        "typing-indicator",
        "avatar",
        "button"
      ],
      "files": [
        {
          "path": "registry/bases/newt/blocks/ai-chat/ai-chat.tsx",
          "type": "registry:block"
        }
      ],
      "framework": "react"
    },
    {
      "name": "alert",
      "type": "registry:ui",
      "title": "Alert",
      "description": "An inline notice with an icon and a coloured edge, in info, success, warning and danger kinds.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/alert.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "app-invite",
      "type": "registry:ui",
      "title": "App Invite",
      "description": "The app directory card a link to an app unfurls into inside a message: cover banner, icon, name and a call to action.",
      "registryDependencies": ["button"],
      "files": [
        {
          "path": "registry/bases/newt/ui/app-invite.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "app-launcher",
      "type": "registry:ui",
      "title": "App Launcher",
      "description": "The Apps launcher, as a desktop popout or a bottom sheet, with search, a recents strip and the apps installed in a server.",
      "dependencies": ["class-variance-authority", "radix-ui"],
      "registryDependencies": ["scrollbar"],
      "files": [
        {
          "path": "registry/bases/newt/ui/app-launcher.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "attachment",
      "type": "registry:ui",
      "title": "Attachment Card",
      "description": "File card showing a type icon, file name, size and a download action.",
      "registryDependencies": ["button"],
      "files": [
        {
          "path": "registry/bases/newt/ui/attachment.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "audit-log",
      "type": "registry:ui",
      "title": "Audit Log",
      "description": "A list of who changed what and when, with entries that open to show each change.",
      "registryDependencies": ["avatar"],
      "files": [
        {
          "path": "registry/bases/newt/ui/audit-log.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "avatar",
      "type": "registry:ui",
      "title": "Avatar",
      "description": "A circular user avatar with image support and initials fallback in five sizes.",
      "dependencies": ["class-variance-authority", "radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/avatar.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "avatar-group",
      "type": "registry:ui",
      "title": "Avatar Group",
      "description": "A row of overlapping avatars with a count for the members not shown.",
      "registryDependencies": ["avatar"],
      "files": [
        {
          "path": "registry/bases/newt/ui/avatar-group.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "badge",
      "type": "registry:ui",
      "title": "Badge",
      "description": "A small pill used to label status, counts or categories.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/badge.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "bot-command-card",
      "type": "registry:ui",
      "title": "Bot Command Card",
      "description": "A card documenting a slash command, its owning bot and its typed options.",
      "registryDependencies": ["badge"],
      "files": [
        {
          "path": "registry/bases/newt/ui/bot-command-card.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "breadcrumb",
      "type": "registry:ui",
      "title": "Breadcrumb",
      "description": "The path from the top of a section to the current page, as a row of links.",
      "files": [
        {
          "path": "registry/bases/newt/ui/breadcrumb.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "button",
      "type": "registry:ui",
      "title": "Button",
      "description": "Displays a Discord-styled button with brand, secondary, success, danger, link and icon variants.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/button.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "calendar",
      "type": "registry:ui",
      "title": "Calendar",
      "description": "A month grid for picking one day, with keyboard navigation and optional first and last selectable dates.",
      "files": [
        {
          "path": "registry/bases/newt/ui/calendar.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "card",
      "type": "registry:ui",
      "title": "Card",
      "description": "A bordered, elevated panel for grouping related content.",
      "files": [
        {
          "path": "registry/bases/newt/ui/card.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "channel-header",
      "type": "registry:ui",
      "title": "Channel Header",
      "description": "The bar above the message list, with the channel name, topic and channel actions.",
      "files": [
        {
          "path": "registry/bases/newt/ui/channel-header.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "channel-info",
      "type": "registry:ui",
      "title": "Channel Info",
      "description": "The channel detail panel that covers a channel on narrow screens.",
      "dependencies": ["radix-ui"],
      "registryDependencies": ["tabs"],
      "files": [
        {
          "path": "registry/bases/newt/ui/channel-info.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "channel-sidebar",
      "type": "registry:block",
      "title": "Channel sidebar",
      "description": "The column a server is navigated from: its name, its channels as a tree and the user panel at the foot.",
      "registryDependencies": [
        "tree",
        "user-panel",
        "status-indicator",
        "avatar"
      ],
      "files": [
        {
          "path": "registry/bases/newt/blocks/channel-sidebar/channel-sidebar.tsx",
          "type": "registry:block"
        }
      ],
      "framework": "react"
    },
    {
      "name": "channel-topic",
      "type": "registry:ui",
      "title": "Channel Topic Bar",
      "description": "A header bar showing the channel name and a truncating topic description.",
      "files": [
        {
          "path": "registry/bases/newt/ui/channel-topic.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "channel-welcome",
      "type": "registry:ui",
      "title": "Channel Welcome",
      "description": "The header that opens a channel, shown above its very first message.",
      "files": [
        {
          "path": "registry/bases/newt/ui/channel-welcome.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "chat",
      "type": "registry:ui",
      "title": "Chat",
      "description": "The channel shell: a scrolling message log with the composer pinned below it.",
      "registryDependencies": ["scrollbar", "message-list", "message-composer"],
      "files": [
        {
          "path": "registry/bases/newt/ui/chat.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "chat-window",
      "type": "registry:block",
      "title": "Chat window",
      "description": "A whole channel view: header, scrolling message list and composer, composed from the registry.",
      "registryDependencies": [
        "channel-header",
        "chat",
        "message-list",
        "message-group",
        "message-composer",
        "avatar"
      ],
      "files": [
        {
          "path": "registry/bases/newt/blocks/chat-window/chat-window.tsx",
          "type": "registry:block"
        }
      ],
      "framework": "react"
    },
    {
      "name": "checkbox-group",
      "type": "registry:ui",
      "title": "Checkbox Group",
      "description": "Several answers out of a visible list, each with an optional description.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/checkbox-group.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "code-block",
      "type": "registry:ui",
      "title": "Code Block",
      "description": "A monospace preformatted block that colours its own source from a language name.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/code-block.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "color-picker",
      "type": "registry:ui",
      "title": "Color Picker",
      "description": "A palette of swatches with a custom colour tile, for role and accent colours.",
      "files": [
        {
          "path": "registry/bases/newt/ui/color-picker.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "command-palette",
      "type": "registry:ui",
      "title": "Command Palette",
      "description": "A searchable quick switcher of grouped destinations and actions, driven from the keyboard.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/command-palette.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "command-panel",
      "type": "registry:block",
      "title": "Command panel",
      "description": "A command browser with a selectable suggestion list and a detailed option card.",
      "registryDependencies": ["slash-command-suggestions", "bot-command-card"],
      "files": [
        {
          "path": "registry/bases/newt/blocks/command-panel/command-panel.tsx",
          "type": "registry:block"
        }
      ],
      "framework": "react"
    },
    {
      "name": "context-menu",
      "type": "registry:ui",
      "title": "Context Menu",
      "description": "A menu that opens on a right click, with items, keyboard shortcuts, separators and a danger variant.",
      "dependencies": ["class-variance-authority", "radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/context-menu.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "cooldown-bar",
      "type": "registry:ui",
      "title": "Cooldown Bar",
      "description": "A slim progress bar with a label and monospace countdown for command cooldowns.",
      "files": [
        {
          "path": "registry/bases/newt/ui/cooldown-bar.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "custom-emoji",
      "type": "registry:ui",
      "title": "Custom Emoji",
      "description": "An uploaded emoji that sits on the text baseline and reads as :name:.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/custom-emoji.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "direction",
      "type": "registry:ui",
      "title": "Direction",
      "description": "Sets the writing direction for a subtree and exposes it to the components that need to know which way is forward.",
      "files": [
        {
          "path": "registry/bases/newt/ui/direction.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "divider",
      "type": "registry:ui",
      "title": "Divider",
      "description": "A horizontal rule with an optional centered label, spacing steps and a line-less mode.",
      "dependencies": ["class-variance-authority", "radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/divider.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "drawer",
      "type": "registry:ui",
      "title": "Drawer",
      "description": "A modal panel that slides against an edge of the screen and closes on Escape, overlay click or an explicit close control.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/drawer.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "dropdown",
      "type": "registry:ui",
      "title": "Dropdown Menu",
      "description": "A menu that opens from a button, with icon, label and description items that highlight in brand color.",
      "dependencies": ["class-variance-authority", "radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/dropdown.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "embed",
      "type": "registry:ui",
      "title": "Embed",
      "description": "A Discord-inspired rich message embed with an accent bar, author, title, description, fields, footer and timestamp.",
      "files": [
        {
          "path": "registry/bases/newt/ui/embed.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "empty-state",
      "type": "registry:ui",
      "title": "Empty State",
      "description": "A centered placeholder with an icon, title, and hint shown when a list or view has no content.",
      "files": [
        {
          "path": "registry/bases/newt/ui/empty-state.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "entity-select",
      "type": "registry:ui",
      "title": "Entity Select",
      "description": "The picker for a server's own members, roles and channels, with chips when more than one may be chosen.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/entity-select.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "expressions-picker",
      "type": "registry:ui",
      "title": "Expressions Picker",
      "description": "A Discord-inspired picker for Unicode emoji and caller-supplied stickers and GIFs.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/expressions-picker.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "file-upload",
      "type": "registry:ui",
      "title": "File Upload",
      "description": "A drop zone that also opens a file picker from the keyboard.",
      "files": [
        {
          "path": "registry/bases/newt/ui/file-upload.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "form-fields",
      "type": "registry:ui",
      "title": "Form Fields",
      "description": "Inputs, textareas, selects, labels, helper text, switches and checkboxes styled for the newt/ui dark theme.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/form-fields.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "inline-code",
      "type": "registry:ui",
      "title": "Inline Code",
      "description": "A monospace pill for code inside a line of message text.",
      "files": [
        {
          "path": "registry/bases/newt/ui/inline-code.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "invite",
      "type": "registry:ui",
      "title": "Invite",
      "description": "The server invite card a link unfurls into inside a message.",
      "registryDependencies": ["button"],
      "files": [
        {
          "path": "registry/bases/newt/ui/invite.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "kbd-tag",
      "type": "registry:ui",
      "title": "Keyboard Shortcut Tag",
      "description": "A small monospace tag for displaying keyboard shortcuts.",
      "files": [
        {
          "path": "registry/bases/newt/ui/kbd-tag.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "markdown",
      "type": "registry:ui",
      "title": "Markdown",
      "description": "Renders a message written in chat markdown — formatting, mentions, timestamps, spoilers, code blocks — with the library's own parts.",
      "registryDependencies": [
        "button",
        "code-block",
        "custom-emoji",
        "inline-code",
        "mention",
        "modal",
        "spoiler",
        "timestamp"
      ],
      "files": [
        {
          "path": "registry/bases/newt/ui/markdown.tsx",
          "type": "registry:ui"
        },
        {
          "path": "registry/bases/newt/ui/markdown-syntax.ts",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "media-gallery",
      "type": "registry:ui",
      "title": "Media Gallery",
      "description": "One to ten images in a mosaic, laid out by how many there are.",
      "files": [
        {
          "path": "registry/bases/newt/ui/media-gallery.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "member-list",
      "type": "registry:ui",
      "title": "Member List",
      "description": "A server member sidebar: role sections, presence, coloured names and APP tags.",
      "registryDependencies": ["avatar", "status-indicator", "role-tag"],
      "files": [
        {
          "path": "registry/bases/newt/ui/member-list.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "mention",
      "type": "registry:ui",
      "title": "Mention Chip",
      "description": "An inline chip for user, channel, role and app mentions, with an optional avatar.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/mention.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "message-composer",
      "type": "registry:ui",
      "title": "Message Composer",
      "description": "The channel input bar: attachment control, text field with combobox hooks, and send.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/message-composer.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "message-group",
      "type": "registry:ui",
      "title": "Message Group",
      "description": "A grouped chat message with author, timestamp, reply preview, reactions and an ephemeral state.",
      "registryDependencies": [
        "avatar",
        "reaction",
        "reply-preview",
        "status-indicator"
      ],
      "files": [
        {
          "path": "registry/bases/newt/ui/message-group.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "message-list",
      "type": "registry:ui",
      "title": "Message List",
      "description": "The polite live region that logs grouped messages in a channel.",
      "registryDependencies": ["message-group"],
      "files": [
        {
          "path": "registry/bases/newt/ui/message-list.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "modal",
      "type": "registry:ui",
      "title": "Modal",
      "description": "A centered dialog over a dimmed overlay that closes on Escape, overlay click or an explicit close control.",
      "dependencies": ["radix-ui"],
      "registryDependencies": ["button"],
      "files": [
        {
          "path": "registry/bases/newt/ui/modal.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "notif-badge",
      "type": "registry:ui",
      "title": "Notification Badge",
      "description": "A small count badge or unread dot for signalling new activity on avatars and channels.",
      "dependencies": ["class-variance-authority"],
      "registryDependencies": ["avatar"],
      "files": [
        {
          "path": "registry/bases/newt/ui/notif-badge.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "number-input",
      "type": "registry:ui",
      "title": "Number Input",
      "description": "A number field with decrement and increment buttons that respect min, max and step.",
      "files": [
        {
          "path": "registry/bases/newt/ui/number-input.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "onboarding",
      "type": "registry:block",
      "title": "Onboarding",
      "description": "A short setup flow: a stepper, the current step's content and the buttons that move through it.",
      "registryDependencies": ["stepper", "button"],
      "files": [
        {
          "path": "registry/bases/newt/blocks/onboarding/onboarding.tsx",
          "type": "registry:block"
        }
      ],
      "framework": "react"
    },
    {
      "name": "pagination",
      "type": "registry:ui",
      "title": "Pagination",
      "description": "Numbered page buttons with previous/next controls, plus a divider-style load-more row.",
      "dependencies": ["class-variance-authority"],
      "registryDependencies": ["button"],
      "files": [
        {
          "path": "registry/bases/newt/ui/pagination.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "permission",
      "type": "registry:ui",
      "title": "Permission Row",
      "description": "A settings row with a deny / inherit / allow tri-state toggle.",
      "files": [
        {
          "path": "registry/bases/newt/ui/permission.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "pin-input",
      "type": "registry:ui",
      "title": "Pin Input",
      "description": "A short code entered one character to a box, for two-factor and verification codes.",
      "files": [
        {
          "path": "registry/bases/newt/ui/pin-input.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "poll",
      "type": "registry:ui",
      "title": "Poll",
      "description": "A question, its answers, and the share of the vote behind each one.",
      "files": [
        {
          "path": "registry/bases/newt/ui/poll.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "popover",
      "type": "registry:ui",
      "title": "Popover",
      "description": "A small panel anchored to the button that opens it, closed by Escape or a press outside.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/popover.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "progress",
      "type": "registry:ui",
      "title": "Progress Bar",
      "description": "A gradient progress bar for boosts, uploads and other long-running tasks.",
      "dependencies": ["class-variance-authority", "radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/progress.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "radio",
      "type": "registry:ui",
      "title": "Radio",
      "description": "One choice out of a short, visible list, with the ring and dot the client's settings panels use.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/radio.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "reaction",
      "type": "registry:ui",
      "title": "Reaction Pill",
      "description": "A toggleable emoji reaction pill, plus the group that rows them under a message.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/reaction.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "reply-preview",
      "type": "registry:ui",
      "title": "Reply Preview",
      "description": "A compact \"replying to\" bar showing the author, a truncated excerpt, or the slash command that was used.",
      "files": [
        {
          "path": "registry/bases/newt/ui/reply-preview.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "role-tag",
      "type": "registry:ui",
      "title": "Role Tag",
      "description": "A compact bordered tag with a coloured dot for displaying a member's role.",
      "files": [
        {
          "path": "registry/bases/newt/ui/role-tag.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "scrollbar",
      "type": "registry:ui",
      "title": "Scrollbar Utility",
      "description": "Discord-styled scrollbars for any scrollable container, with an overlay thumb, auto-hide and an optional keyboard-focusable viewport.",
      "files": [
        {
          "path": "registry/bases/newt/ui/scrollbar.tsx",
          "type": "registry:ui"
        },
        {
          "path": "registry/bases/newt/ui/scroll-area.tsx",
          "type": "registry:ui"
        },
        {
          "path": "registry/bases/newt/ui/scrollbar-classes.ts",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "section",
      "type": "registry:ui",
      "title": "Section",
      "description": "A block of text with one accessory beside it — a thumbnail, or a button.",
      "files": [
        {
          "path": "registry/bases/newt/ui/section.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "select-menu",
      "type": "registry:ui",
      "title": "Select Menu",
      "description": "A Discord-inspired string select: combobox trigger, keyboard-driven listbox and a portalled panel.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/select-menu.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "server-banner",
      "type": "registry:ui",
      "title": "Server Banner",
      "description": "Invite-style card with a server icon, name, live member counts and a join button.",
      "dependencies": ["class-variance-authority"],
      "registryDependencies": ["button"],
      "files": [
        {
          "path": "registry/bases/newt/ui/server-banner.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "server-sidebar",
      "type": "registry:block",
      "title": "Server sidebar",
      "description": "The column beside a channel: the server banner, the voice channel and the grouped member list.",
      "registryDependencies": [
        "server-banner",
        "voice-channel",
        "member-list",
        "status-indicator",
        "avatar"
      ],
      "files": [
        {
          "path": "registry/bases/newt/blocks/server-sidebar/server-sidebar.tsx",
          "type": "registry:block"
        }
      ],
      "framework": "react"
    },
    {
      "name": "settings-layout",
      "type": "registry:block",
      "title": "Settings layout",
      "description": "A settings screen: grouped sections down the side and the chosen section's breadcrumb, heading and content beside them.",
      "registryDependencies": ["side-nav", "breadcrumb"],
      "files": [
        {
          "path": "registry/bases/newt/blocks/settings-layout/settings-layout.tsx",
          "type": "registry:block"
        }
      ],
      "framework": "react"
    },
    {
      "name": "side-nav",
      "type": "registry:ui",
      "title": "Side Nav",
      "description": "A vertical list of grouped links for the sections of a settings screen.",
      "files": [
        {
          "path": "registry/bases/newt/ui/side-nav.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "skeleton",
      "type": "registry:ui",
      "title": "Skeleton Loader",
      "description": "A shimmering placeholder shown while content is loading.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/skeleton.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "slash-command",
      "type": "registry:ui",
      "title": "Slash Command",
      "description": "An inline /command with its subcommand path and typed options, including the focused one.",
      "files": [
        {
          "path": "registry/bases/newt/ui/slash-command.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "slash-command-suggestions",
      "type": "registry:ui",
      "title": "Slash Command Suggestions",
      "description": "The command picker that opens above the composer, with an app rail, grouped options and a matched-command preview.",
      "dependencies": ["class-variance-authority"],
      "registryDependencies": ["slash-command", "scrollbar"],
      "files": [
        {
          "path": "registry/bases/newt/ui/slash-command-suggestions.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "slider",
      "type": "registry:ui",
      "title": "Slider",
      "description": "A range control with a filled track, a grabber and optional labelled marks, for volumes and thresholds.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/slider.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "spoiler",
      "type": "registry:ui",
      "title": "Spoiler",
      "description": "Inline text hidden behind a solid block until the reader clicks to reveal it.",
      "files": [
        {
          "path": "registry/bases/newt/ui/spoiler.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "stage-banner",
      "type": "registry:ui",
      "title": "Stage Banner",
      "description": "A full-width announcement strip with a status dot, optional action button and dismiss control.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/stage-banner.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "status-indicator",
      "type": "registry:ui",
      "title": "Status Indicator",
      "description": "A presence dot anchored to an avatar, with online, idle, do-not-disturb, offline and streaming states.",
      "dependencies": ["class-variance-authority"],
      "registryDependencies": ["avatar"],
      "files": [
        {
          "path": "registry/bases/newt/ui/status-indicator.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "stepper",
      "type": "registry:ui",
      "title": "Stepper",
      "description": "Progress through a fixed sequence of steps, horizontal or stacked.",
      "files": [
        {
          "path": "registry/bases/newt/ui/stepper.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "system-message",
      "type": "registry:ui",
      "title": "System Message",
      "description": "The lines a channel writes about itself — joins, boosts, pins — with no author and no avatar.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/system-message.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "table",
      "type": "registry:ui",
      "title": "Table",
      "description": "A bordered data table with sortable headings, selectable rows and a caption.",
      "files": [
        {
          "path": "registry/bases/newt/ui/table.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "tabs",
      "type": "registry:ui",
      "title": "Tabs",
      "description": "A pill-style tab list that switches the active tab on click.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/tabs.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "tag-input",
      "type": "registry:ui",
      "title": "Tag Input",
      "description": "A text field that keeps what was typed as removable chips.",
      "files": [
        {
          "path": "registry/bases/newt/ui/tag-input.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "text-display",
      "type": "registry:ui",
      "title": "Text Display",
      "description": "A block of message text that keeps its line breaks, with the chat markdown heading and subtext sizes.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/text-display.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "thread-preview",
      "type": "registry:ui",
      "title": "Thread Preview",
      "description": "The thread hanging off a message: its name, its reply count and the last thing said.",
      "files": [
        {
          "path": "registry/bases/newt/ui/thread-preview.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "timeline",
      "type": "registry:ui",
      "title": "Event Timeline",
      "description": "A vertical event log with connected status dots, titles and metadata.",
      "dependencies": ["class-variance-authority"],
      "files": [
        {
          "path": "registry/bases/newt/ui/timeline.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "timestamp",
      "type": "registry:ui",
      "title": "Timestamp",
      "description": "One instant, written in the reader's own locale and time zone.",
      "files": [
        {
          "path": "registry/bases/newt/ui/timestamp.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "toast",
      "type": "registry:ui",
      "title": "Toast",
      "description": "A transient notification with a status icon that auto-dismisses after a timeout or when closed.",
      "dependencies": ["class-variance-authority", "radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/toast.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "token-field",
      "type": "registry:ui",
      "title": "Token Field",
      "description": "A read-only, masked monospace input with reveal and copy-to-clipboard actions for secrets such as bot tokens.",
      "registryDependencies": ["form-fields", "button"],
      "files": [
        {
          "path": "registry/bases/newt/ui/token-field.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "tooltip",
      "type": "registry:ui",
      "title": "Tooltip",
      "description": "A small floating label that appears above an element on hover or focus.",
      "dependencies": ["radix-ui"],
      "files": [
        {
          "path": "registry/bases/newt/ui/tooltip.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "tree",
      "type": "registry:ui",
      "title": "Tree",
      "description": "A collapsible, keyboard-driven list of nested rows, such as categories and their channels.",
      "files": [
        {
          "path": "registry/bases/newt/ui/tree.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "typeset",
      "type": "registry:ui",
      "title": "Typeset",
      "description": "Styles the HTML a markdown renderer emits — CommonMark and GFM — with three variables: size, leading and flow.",
      "dependencies": ["class-variance-authority"],
      "css": {
        "@layer components": "/* newt-ui · Typeset */\n\n/*\n * Typeset styles the HTML a general markdown renderer emits — CommonMark and\n * GitHub-flavoured markdown through remark, markdown-it, marked, MDX or a CMS —\n * with three variables rather than a rule per element:\n *\n *   --typeset-size     the base font size everything else is an `em` of\n *   --typeset-leading  the line height\n *   --typeset-flow     the space between block children\n *\n * Everything else resolves to a --newt-* token, so a typeset block follows the\n * palette, the light surfaces and a preset without knowing they exist.\n *\n * A chat message written in chat markdown — mentions, timestamps, spoilers —\n * is not this stylesheet's job: the Markdown component parses that source and\n * renders it with the library's own parts.\n */\n\n.typeset {\n  --typeset-size: 1em;\n  --typeset-leading: 1.75;\n  --typeset-flow: 1.25em;\n  --typeset-font-body: var(--newt-font-sans);\n  --typeset-font-heading: var(--newt-font-display);\n  --typeset-font-mono: var(--newt-font-mono);\n\n  font-family: var(--typeset-font-body);\n  font-size: var(--typeset-size);\n  line-height: var(--typeset-leading);\n  color: var(--newt-text-secondary);\n  text-wrap: pretty;\n}\n\n/*\n * One rule owns the rhythm: every block child carries the same trailing space\n * and nothing carries a leading one, so a block's spacing never depends on\n * what happens to precede it.\n *\n * Quotes and list items hold blocks of their own — a multi-line quote is\n * several paragraphs, not one — so they keep the same rhythm inside rather\n * than falling back to the browser's margins.\n */\n.typeset > :where(*),\n.typeset :where(blockquote, li) > :where(*) {\n  margin-block: 0 var(--typeset-flow);\n}\n\n.typeset > :where(*:last-child),\n.typeset :where(blockquote, li) > :where(*:last-child) {\n  margin-block-end: 0;\n}\n\n.typeset :where(h1, h2, h3, h4, h5, h6) {\n  font-family: var(--typeset-font-heading);\n  font-weight: 700;\n  line-height: 1.25;\n  color: var(--newt-text-primary);\n  text-wrap: balance;\n}\n\n.typeset > :where(h1, h2, h3, h4, h5, h6) {\n  margin-block-start: calc(var(--typeset-flow) * 1.6);\n}\n\n.typeset > :where(:first-child) {\n  margin-block-start: 0;\n}\n\n/* A heading and the paragraph under it are one unit, not two. */\n.typeset :where(h1, h2, h3, h4, h5, h6) + :where(*) {\n  margin-block-start: 0;\n}\n\n.typeset :where(h1) {\n  font-size: 2em;\n  letter-spacing: -0.02em;\n}\n.typeset :where(h2) {\n  font-size: 1.5em;\n  letter-spacing: -0.015em;\n}\n.typeset :where(h3) {\n  font-size: 1.25em;\n}\n.typeset :where(h4) {\n  font-size: 1.125em;\n}\n.typeset :where(h5, h6) {\n  font-size: 1em;\n}\n\n.typeset :where(strong) {\n  font-weight: 600;\n  color: var(--newt-text-primary);\n}\n\n/*\n * The rest of the inline set. Emphasis and strikethrough would inherit the\n * browser's defaults, but they are stated here so the offset under an\n * underline — raw `<u>` is valid in markdown — is the one the links use rather\n * than the one the font happens to suggest.\n */\n.typeset :where(em) {\n  font-style: italic;\n}\n\n.typeset :where(u) {\n  text-decoration: underline;\n  text-underline-offset: 3px;\n}\n\n.typeset :where(s, del) {\n  text-decoration: line-through;\n  color: var(--newt-text-muted);\n}\n\n/*\n * Fine print. Smaller and quieter, and `em` so it shrinks against whatever it\n * sits in rather than against the root.\n */\n.typeset :where(small) {\n  font-size: 0.8125em;\n  color: var(--newt-text-muted);\n}\n\n/* Highlighted text: the brand hue, thinned so the words stay readable on it. */\n.typeset :where(mark) {\n  padding-inline: 0.15em;\n  border-radius: var(--newt-radius-sm);\n  background: color-mix(in oklab, var(--newt-brand) 30%, transparent);\n  color: var(--newt-text-primary);\n}\n\n/* A footnote reference must not push its line away from the one above. */\n.typeset :where(sup, sub) {\n  font-size: 0.75em;\n  line-height: 0;\n}\n\n.typeset :where(a) {\n  color: var(--newt-text-link);\n  text-decoration: underline;\n  text-underline-offset: 3px;\n}\n\n.typeset :where(a:hover) {\n  text-decoration-thickness: 2px;\n}\n\n.typeset :where(ul, ol) {\n  padding-inline-start: 1.5em;\n}\n\n.typeset :where(ul) {\n  list-style: disc;\n}\n\n.typeset :where(ol) {\n  list-style: decimal;\n}\n\n.typeset :where(li) {\n  margin-block-end: calc(var(--typeset-flow) * 0.35);\n}\n\n.typeset :where(li)::marker {\n  color: var(--newt-text-muted);\n}\n\n/*\n * GFM task lists: the renderer puts a checkbox first in the item, or first in\n * the item's paragraph when the list is loose. The box takes the bullet's\n * place in the indent, so the text lines up with the items around it.\n */\n.typeset\n  :where(\n    li:has(\n      > input[type=\"checkbox\"]:first-child,\n      > p:first-child > input[type=\"checkbox\"]:first-child\n    )\n  ) {\n  list-style: none;\n}\n\n.typeset :where(li input[type=\"checkbox\"]:first-child) {\n  margin-block: 0;\n  margin-inline: -1.35em 0.5em;\n  vertical-align: -0.1em;\n  accent-color: var(--newt-brand);\n}\n\n/* A nested list belongs to its item, so it does not restate the block gap. */\n.typeset :where(li > ul, li > ol) {\n  margin-block: calc(var(--typeset-flow) * 0.35);\n}\n\n.typeset :where(blockquote) {\n  margin-inline: 0;\n  padding-inline-start: 1em;\n  border-inline-start: 4px solid var(--newt-border);\n  color: var(--newt-text-muted);\n}\n\n.typeset :where(hr) {\n  border: 0;\n  border-block-start: 1px solid var(--newt-border);\n}\n\n.typeset :where(code) {\n  padding: 0.15em 0.35em;\n  border-radius: var(--newt-radius-sm);\n  background: var(--newt-bg-surface);\n  font-family: var(--typeset-font-mono);\n  font-size: 0.875em;\n  color: var(--newt-text-primary);\n}\n\n.typeset :where(pre) {\n  padding: 1em 1.15em;\n  overflow-x: auto;\n  border: 1px solid var(--newt-border);\n  border-radius: var(--newt-radius-md);\n  background: var(--newt-bg-base);\n  font-family: var(--typeset-font-mono);\n  font-size: 0.875em;\n  line-height: 1.6;\n}\n\n.typeset :where(pre code) {\n  padding: 0;\n  border-radius: 0;\n  background: none;\n  font-size: inherit;\n}\n\n.typeset :where(kbd) {\n  padding: 0.1em 0.4em;\n  border: 1px solid var(--newt-border);\n  border-radius: var(--newt-radius-sm);\n  font-family: var(--typeset-font-mono);\n  font-size: 0.8em;\n}\n\n/* Definition lists: the term reads as a label, the description hangs under it. */\n.typeset :where(dt) {\n  font-weight: 600;\n  color: var(--newt-text-primary);\n}\n\n.typeset :where(dd) {\n  margin-inline-start: 1.5em;\n}\n\n.typeset :where(dd + dt) {\n  margin-block-start: calc(var(--typeset-flow) * 0.5);\n}\n\n/* A disclosure: the summary is the control, so it says so. */\n.typeset :where(summary) {\n  cursor: pointer;\n  font-weight: 600;\n  color: var(--newt-text-primary);\n}\n\n.typeset :where(details[open] > summary) {\n  margin-block-end: calc(var(--typeset-flow) * 0.5);\n}\n\n.typeset :where(figure) {\n  margin-inline: 0;\n}\n\n.typeset :where(figcaption) {\n  margin-block-start: 0.5em;\n  font-size: 0.875em;\n  color: var(--newt-text-muted);\n}\n\n.typeset :where(img, video) {\n  max-inline-size: 100%;\n  height: auto;\n  border-radius: var(--newt-radius-md);\n}\n\n.typeset :where(table) {\n  inline-size: 100%;\n  border-collapse: collapse;\n  font-size: 0.9375em;\n}\n\n.typeset :where(th, td) {\n  padding: 0.5em 0.7em;\n  border-block-end: 1px solid var(--newt-border);\n  vertical-align: top;\n}\n\n/*\n * A GFM column written `:-:` or `--:` arrives as `align` on its cells. That\n * attribute loses to any author rule, so `start` only applies where none was\n * asked for.\n */\n.typeset :where(th:not([align]), td:not([align])) {\n  text-align: start;\n}\n\n.typeset :where(th) {\n  color: var(--newt-text-primary);\n  font-weight: 600;\n}\n\n/*\n * A table is the one element that cannot reflow: below the narrow breakpoint\n * it scrolls sideways inside its own box rather than widening the page.\n */\n@media (max-width: 40rem) {\n  .typeset > :where(table) {\n    display: block;\n    overflow-x: auto;\n    white-space: nowrap;\n  }\n}\n\n/*\n * Footnotes, as GFM renderers emit them: a section at the end of the body,\n * set apart and a step quieter than the text that cites them.\n */\n.typeset > :where([data-footnotes], .footnotes) {\n  padding-block-start: var(--typeset-flow);\n  border-block-start: 1px solid var(--newt-border);\n  font-size: 0.875em;\n  color: var(--newt-text-muted);\n}\n\n/* --- presets ------------------------------------------------------------ */\n\n/* Long-form reading: the defaults, stated so a preset is always explicit. */\n.typeset-docs {\n  --typeset-size: 1em;\n  --typeset-leading: 1.75;\n  --typeset-flow: 1.25em;\n}\n\n/*\n * Conversation: tighter, because the turn is the unit and it is short — an\n * assistant reply, a comment thread, a support transcript.\n */\n.typeset-chat {\n  --typeset-size: 0.9375em;\n  --typeset-leading: 1.375;\n  --typeset-flow: 0.5em;\n}\n\n/* Editorial: larger and airier, for text somebody sat down to read. */\n.typeset-article {\n  --typeset-size: 1.0625em;\n  --typeset-leading: 1.8;\n  --typeset-flow: 1.5em;\n}\n\n/* Line length is a property of the column, not of the type. */\n.typeset-measure {\n  max-inline-size: 68ch;\n}\n\n/* --- opting out --------------------------------------------------------- */\n\n/*\n * An island of interface inside a body of prose — a component, an embed, a\n * table of controls — should not inherit the rhythm. Marking it takes it back\n * out, including everything inside it.\n */\n.typeset :where(.not-typeset, .not-typeset *) {\n  margin-block: revert;\n  font-family: revert;\n  font-size: revert;\n  line-height: revert;\n  color: revert;\n}"
      },
      "files": [
        {
          "path": "registry/bases/newt/ui/typeset.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "typing-indicator",
      "type": "registry:ui",
      "title": "Typing Indicator",
      "description": "Three bouncing dots with a label that signals someone is typing.",
      "files": [
        {
          "path": "registry/bases/newt/ui/typing-indicator.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "user-panel",
      "type": "registry:ui",
      "title": "User Panel",
      "description": "The strip at the foot of a sidebar: the signed-in user and their mute, deafen and settings controls.",
      "files": [
        {
          "path": "registry/bases/newt/ui/user-panel.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "user-profile",
      "type": "registry:ui",
      "title": "User Profile Popout",
      "description": "Floating profile card with a banner, overlapping avatar, bio section and role tags.",
      "registryDependencies": [
        "avatar",
        "status-indicator",
        "role-tag",
        "button"
      ],
      "files": [
        {
          "path": "registry/bases/newt/ui/user-profile.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "v2-container",
      "type": "registry:ui",
      "title": "V2 Container",
      "description": "The Components V2 block that groups text, separators and action rows behind one accent bar.",
      "files": [
        {
          "path": "registry/bases/newt/ui/v2-container.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "voice-channel",
      "type": "registry:ui",
      "title": "Voice Channel Row",
      "description": "A sidebar voice channel row with a collapsible header and the list of connected members.",
      "registryDependencies": ["avatar"],
      "files": [
        {
          "path": "registry/bases/newt/ui/voice-channel.tsx",
          "type": "registry:ui"
        }
      ],
      "framework": "react"
    },
    {
      "name": "theme-newt",
      "type": "registry:theme",
      "title": "newt/ui theme",
      "description": "The Discord-inspired --newt-* design tokens, for Tailwind v3 and v4.",
      "framework": "react"
    }
  ]
}
