Angular team chat template

A team messenger with channels, threads and mentions, built from the Styloviz components

Five sections — channels, direct messages, threads, activity and search — over one signal store and a mock API you swap for your own with one setting. Unread is a read position per person, never a stored count, so the rail badge, the “new” divider, the threads page and the DM’s “Seen” receipt all read the same fact. Standalone Angular 21 components, Tailwind CSS 4, dark mode.

Included with a Styloviz Pro license. The download is a complete Angular project — npm install && npm start.

Screenshot of the Styloviz Team Chat Template
sections, 6 routes
5
demo channels, 1 private
6
stored unread counts — all derived
0
search results shown before it says so
50

Walkthrough · 1:31

What it does, page by page

  1. 1. Channel

    Open

    A timeline with sticky day dividers, messages from one person within 5 minutes grouped into one block, and a “new” divider pinned where you left off for the whole visit, with a bar under the header to jump to it. React with four named reactions, reply in a thread in a side panel, star or mute the room. The composer autocompletes “@” mentions from the keyboard and warns before the send when someone is not in the room — with an “Add to #channel” button, or, in a private channel, a note that they cannot see it. A send appears at once as Sending…; a failed one keeps its place with Retry and Discard.

  2. 2. Direct message

    Open

    The same timeline for a conversation with one person, with their presence — active, away or offline, derived from when they were last seen, or do not disturb when they set it — their own local time, their status note, and a read receipt that says when they saw your last message. Outside 08:00–20:00 their time, the composer tells you what time it is for them; it does not stop the send. Start a new DM with anyone in the directory from the + in the rail.

  3. 3. Threads

    Open

    Every thread you are taking part in, newest reply first, with the room, the participants, the reply count, how many replies are new, and a “Mentions you” tag. Open thread takes you to the room with the thread panel open; a thread reply stays in the thread unless you tick “Also send to #channel”.

  4. 4. Activity

    Open

    Every message that named you, newest first, across the rooms you can see. Read mentions stay on the list, unread ones are marked, and Mark all read clears every room at once. In a muted channel an “@channel” does not badge, but your own name still does.

  5. 5. Search

    Open

    Message search over only the channels and DMs you can see — a private channel you are not in never shows up. At least two characters; results newest first, capped at 50, and the page says when older matches are not shown.

Built from Styloviz components

The template is a composition of the same packages you install from npm — nothing in it is a one-off copy of a component.

Components the template imports
ComponentPackageUsed for
sv-avatar@styloviz/avatarpeople in the rail, the timeline and the threads, with the presence dot
sv-badge@styloviz/badgeunread mention counts in the rail and the header
sv-search-bar@styloviz/search-barthe message search box
sv-kbd@styloviz/kbdthe Enter to send / Shift Enter new line hint
sv-skeleton-shell · sv-error-shell · sv-empty-shell@styloviz/coreloading, error with Try again, and no-data / no-results states
sv-icon-pro@styloviz-pro/iconsevery glyph — the template registers the ones it names

What it would cost to build

Our estimate for building the same thing from scratch is 4–6 weeks for one experienced Angular developer — roughly 160–240 hours for the five sections, read positions and the pinned divider, threads, mention autocomplete with its reachability warning, optimistic sends with Retry, presence and time zones, permission-aware search and the specs — before any of your own backend or realtime work. It is an estimate, not a measurement.

Questions

Does it connect to my backend?

Yes. Set CHAT_API.baseUrl in chat.config.ts and the store loads the workspace with GET /workspace , sends with POST /messages and saves mute, star, membership and the read position with PUT /conversations/:id . Leave it empty and the template runs on the bundled demo workspace in chat.data.ts , in the browser. There is no realtime transport — add your own socket on top of the store.

How do I see the failed-send state?

Type /fail anywhere in a message. The demo transport rejects it, and the message stays where it was with Retry and Discard.

Can I render HTML or Markdown in messages?

Messages are parsed into typed segments — text, mention, broadcast, code and link — and drawn as text, never through innerHTML . Links are kept only when new URL() says they are http or https .

Which Angular and Tailwind versions does it need?

Angular 21 or 22 with standalone components and signals, and Tailwind CSS 4. The download is a complete Angular project: npm install && npm start .

Can I change the team, channels and reactions?

Yes — CHAT_TEAM , CHAT_CHANNELS , CHAT_REACTIONS , the presence thresholds in CHAT_PRESENCE and the 25 MB attachment limit all live in chat.config.ts . A DM exists for every person in CHAT_TEAM without a second edit.

What license covers it?

The team chat template is part of Styloviz Pro. A Pro license covers the template and the Pro packages it imports, including use in client projects.

Looking for something else? See every template