Docs

LLMs

A generated map of the current coss-svelte component, API, example, registry, and skill surface for coding agents.

Entry Points

# coss-svelte

**coss-svelte** is a Svelte 5, copy-and-own component library inspired by COSS UI. It maps the COSS component language onto SvelteKit, Bits UI, and Tailwind CSS 4.

The current catalog contains **55 components**: **52 stable**, **3 experimental**, and **0 deferred**.

## Agent Rules

- Use the maintained [coss-svelte skill](/docs/skills.md) for implementation workflow and high-risk composition rules.
- Treat COSS React, Base UI, shadcn, and Radix snippets as design references only. Never copy their implementation source into Svelte.
- Import only names documented by a component Markdown route or exported by `coss-svelte`.
- Prefer Svelte 5 `class`, lowercase event properties, runes, snippets, and documented `bind:*` props.
- Read a component's status, example, API table, and registry manifest before generating code.
- Install with `pnpm add coss-svelte @coss-svelte/theme bits-ui` in Svelte 5 applications built with SvelteKit and Vite.
- Treat the machine-readable registry as a preview whose source and schemas may evolve between minor releases.

## Overview

- [Introduction](/docs/introduction.md): coss-svelte is a Svelte 5-native component library inspired by coss. Built for SvelteKit apps and built on top of Bits UI.
- [Getting Started](/docs/getting-started.md): Install coss-svelte, its shared theme, and Bits UI in a Svelte 5 application built with SvelteKit and Vite.

## Components

- [Accordion](/docs/components/accordion.md): A set of collapsible panels with headings and content.
- [Alert](/docs/components/alert.md): A callout for displaying important information.
- [Alert Dialog](/docs/components/alert-dialog.md): A dialog that requires user response to proceed.
- [Autocomplete](/docs/components/autocomplete.md): An input that suggests options as you type.
- [Avatar](/docs/components/avatar.md): A visual representation of a user or entity.
- [Badge](/docs/components/badge.md): A small status indicator or label component.
- [Breadcrumb](/docs/components/breadcrumb.md): Displays the path to the current resource using a hierarchy of links.
- [Button](/docs/components/button.md): A button or a component that looks like a button.
- [Calendar](/docs/components/calendar.md): A date picker for selecting single dates, ranges, or multiple dates.
- [Card](/docs/components/card.md): A content container for grouping related information.
- [Checkbox](/docs/components/checkbox.md): A binary toggle input for selecting one or multiple options.
- [Checkbox Group](/docs/components/checkbox-group.md): A collection of related checkboxes with group-level control.
- [Collapsible](/docs/components/collapsible.md): A component that toggles visibility of content sections.
- [Combobox](/docs/components/combobox.md): An input combined with a list of predefined items to select.
- [Command](/docs/components/command.md): A command palette component built with Dialog and Autocomplete for searching and executing commands.
- [Context Menu](/docs/components/context-menu.md): A menu of contextual actions opened from a pointer or keyboard target.
- [Date Picker](/docs/components/date-picker.md): A date selection component, often combined with a calendar in a popover or input.
- [Dialog](/docs/components/dialog.md): A modal overlay for displaying content that requires user interaction.
- [Drawer](/docs/components/drawer.md): A panel that slides in from the edge of the screen with swipe gestures, snap points, and nested drawer support.
- [Empty](/docs/components/empty.md): A container for displaying empty state information.
- [Field](/docs/components/field.md): A wrapper component for form inputs with labels and validation.
- [Fieldset](/docs/components/fieldset.md): A group of related form fields with a common label.
- [Form](/docs/components/form.md): A complete form implementation with validation and submission handling.
- [Frame](/docs/components/frame.md): A container component for displaying content in a frame.
- [Group](/docs/components/group.md): A container component for grouping related content with consistent styling.
- [Input](/docs/components/input.md): A native input element.
- [Input Group](/docs/components/input-group.md): A flexible component for grouping inputs with addons, buttons, and other elements.
- [Kbd](/docs/components/kbd.md): A component for displaying keyboard keys and shortcuts.
- [Label](/docs/components/label.md): Renders an accessible label associated with controls.
- [Menu](/docs/components/menu.md): A list of actions or options revealed on demand.
- [Meter](/docs/components/meter.md): A visual representation of a value within a known range.
- [Number Field](/docs/components/number-field.md): A specialized input for numeric values with increment/decrement controls.
- [OTP Field](/docs/components/otp-field.md): A segmented input for one-time passwords and verification codes.
- [Pagination](/docs/components/pagination.md): A pagination with page navigation, next and previous links.
- [Popover](/docs/components/popover.md): An accessible popup anchored to a button.
- [Preview Card](/docs/components/preview-card.md): A rich preview component for displaying linked content.
- [Progress](/docs/components/progress.md): A visual indicator showing the completion status of a task.
- [Radio Group](/docs/components/radio-group.md): A set of mutually exclusive options presented as radio buttons.
- [Scroll Area](/docs/components/scroll-area.md): A container with custom scrollbars for overflow content.
- [Select](/docs/components/select.md): A common form component for choosing a predefined value in a dropdown menu.
- [Separator](/docs/components/separator.md): A visual divider for separating content sections.
- [Sheet](/docs/components/sheet.md): A flyout that opens from the side of the screen, based on the dialog component.
- [Sidebar](/docs/components/sidebar.md): A collapsible side panel for navigation and secondary content.
- [Skeleton](/docs/components/skeleton.md): A placeholder for loading content.
- [Slider](/docs/components/slider.md): A draggable control for selecting values from a continuous range.
- [Spinner](/docs/components/spinner.md): An indicator that can be used to show a loading state.
- [Switch](/docs/components/switch.md): A toggle control for binary on/off states.
- [Table](/docs/components/table.md): A structured data display component with rows and columns.
- [Tabs](/docs/components/tabs.md): A component for toggling between related panels on the same page.
- [Textarea](/docs/components/textarea.md): A multi-line text input for longer content.
- [Toast](/docs/components/toast.md): A temporary notification message that appears and disappears automatically.
- [Toggle](/docs/components/toggle.md): A button that switches between two states.
- [Toggle Group](/docs/components/toggle-group.md): A group of toggle buttons where one or multiple can be selected.
- [Toolbar](/docs/components/toolbar.md): A container for grouping related actions or controls.
- [Tooltip](/docs/components/tooltip.md): A small overlay that provides contextual information on hover or focus.

## Machine-readable Registry

- [Registry index](/r/index.json): All generated component manifests.
- [Registry item schema](/schema/registry-item.json): JSON Schema for one copy-and-own component manifest.
- [Registry index schema](/schema/registry-index.json): JSON Schema for the registry index.

## Resources

- [LLMs](/docs/llms.md): Agent-facing docs map for the local Svelte component surface.
- [Skills](/docs/skills.md): Install coss-svelte knowledge into AI coding agents.

Component Routes

Resources