9.89K
total weekly downloads
110 packages
@c2n/accordion
`c2-accordion` combines directly slotted `c2-details` panels into a connected, animated disclosure surface. It owns their shared borders, dividers and outside corners, and coordinates expansion through Lit context. Opening one closes its siblings; add `mu
@c2n/angular
Angular bindings for the c2n web components: ControlValueAccessor directives so ngModel and reactive forms work with c2-* form controls
@c2n/attachment
File and image attachments with metadata, upload progress, failure states, actions, and responsive grouping.
@c2n/autocomplete
`<c2-autocomplete>` is a keyboard-accessible combobox composed from `c2-overlay`, `c2-list` and `c2-list-item`.
@c2n/avatar
Avatar components built with Lit: `c2-avatar` renders an image, initials or slotted content, while `c2-avatar-group` creates a responsive overlapping stack with an automatic overflow count.
@c2n/badge
Badge built with Lit: a tinted pill for status text, counts and dots, optionally pinned to a corner of another element.
@c2n/banner
// TODO
@c2n/border-beam
Decorative, pointer-transparent gradient that travels inside a masked border channel. It supports multiple evenly distributed beams plus configurable size, line width, outset, duration and direction.
@c2n/breadcrumb
Breadcrumb built with Lit: a navigation trail of `c2-link-button` items with separators, an automatic current page and optional collapsing.
@c2n/button
`c2-button` is a themeable button with slots for the label text, a prefix icon, a suffix icon and a running (busy) icon.
@c2n/button-group
Button group built with Lit: attach `c2-button` / `c2-icon-button` items into one joined control or a polished segmented selector.
@c2n/card
Themeable surface that groups related content and actions, built with Lit.
@c2n/carousel
Carousel built with Lit: a swipeable slideshow of its children, with previous/next controls, indicators, looping and optional autoplay.
@c2n/cascader
`<c2-cascader>` selects a path through nested data in one multi-column floating panel.
@c2n/chart
Line, area, bar, sparkline, pie, gauge, scatter, candlestick and overlap (Venn) charts as custom elements, from one package.
@c2n/chatbot
Minimal chat shell for application-provided conversation content.
@c2n/chat-input
An auto-growing Lit message composer with keyboard submission, a built-in send button, slotted toolbar actions and native form participation.
@c2n/chat-message
A flexible Lit message row for assistant answers, conversations and activity updates.
@c2n/chat-message-list
A scrolling conversation log for chat rooms and chatbots. It follows new messages while the reader is at the bottom (including a reply that grows while it streams), keeps the reader's place once they scroll up, offers a jump-to-latest button with an unrea
@c2n/checkbox
Following m3 specs : https://m3.material.io/components/switch/specs
@c2n/code-editor
Source-code field built with Lit on **CodeMirror 6**, which is an _optional_ peer dependency: nothing is imported until an editor mounts, and without it the element degrades to a plain `<textarea>` with the same value, events and form behaviour.
@c2n/code-viewer
Syntax-highlighted code blocks powered by [shiki](https://shiki.style), built with Lit.
@c2n/color-area
// TODO
@c2n/color-select
// TODO
@c2n/color-slider
`c2-color-slider` is a horizontal hue input. Install `@c2n/color-slider` and import it before using the custom element: