Back to Skills

coss

Helps implement coss UI components correctly. Use when building UIs with coss primitives (buttons, dialogs, selects, forms, menus, tabs, inputs, toasts, etc.), migrating from shadcn/Radix to coss/Base UI, composing trigger-based overlays, or troubleshooting coss component behavior. Covers imports, accessibility, Tailwind styling, and common pitfalls.

10,103stars505forksUpdated 6/19/2026

Security Assessment

Safe(100/100)
Security Score100/100

About coss

The coss skill helps developers implement coss UI components correctly in React applications. coss is a component library built on Base UI that provides a shadcn-like developer experience with an extensive particle catalog. This skill serves as a technical guide for selecting the right primitives, writing correct implementation code, and avoiding common pitfalls when building user interfaces with coss components like buttons, dialogs, selects, forms, menus, tabs, inputs, and toasts.

The skill covers essential capabilities including proper import statements, accessibility best practices, Tailwind CSS v4 styling conventions, and composition patterns for trigger-based overlays. It provides guidance on migrating from shadcn/Radix to coss/Base UI, composing complex UI flows, and troubleshooting component behavior. The skill emphasizes using existing primitives and particles first, following documented APIs exactly, and maintaining production-realistic code that mirrors official coss conventions.

This skill is designed for React developers building modern web applications who need to implement UI components using the coss library. It's particularly valuable for teams migrating from shadcn or Radix UI, developers working on accessible interfaces, and anyone needing reference examples from the coss particle catalog. The skill helps users navigate 54+ documented primitives, understand component composition hierarchies, and produce clean, maintainable UI code that follows coss best practices.

FAQ

What are the main requirements to use coss components?

coss requires Tailwind CSS v4 and @base-ui/react as dependencies. It's designed for React projects using the coss component registry and follows Tailwind CSS v4 conventions for styling.

How does coss differ from shadcn or Radix UI?

coss is built on Base UI (not Radix) and provides a shadcn-like developer experience. The skill includes migration guidance to help transition from shadcn/Radix patterns to coss/Base UI, covering differences in composition, trigger hierarchies, and API usage.

Where can I find examples of coss component implementations?

The skill references the coss particle catalog at https://coss.com/ui/particles with examples located in the repository at apps/ui/registry/default/particles/p-*.tsx. Component documentation is available in apps/ui/content/docs/components/*.mdx files.

What types of UI components does coss support?

coss provides 54+ primitives covering buttons, dialogs, selects, forms, menus, tabs, inputs, toasts, popovers, tooltips, and other common UI patterns. Each primitive has dedicated reference documentation.

Can I customize coss components or do I need to use them as-is?

coss components support composition and styling customization. The skill recommends using styled coss exports first, but you can use *Primitive exports when custom composition or styling is required. However, you should always follow documented APIs rather than inventing custom patterns.

All Files

62 files
references/portal-props.md1.7 KB
View
references/primitives/collapsible.md1.3 KB
View
references/primitives/context-menu.md3.4 KB
View
references/primitives/pagination.md2.0 KB
View
references/primitives/textarea.md1.9 KB
View
references/primitives/autocomplete.md4.0 KB
View
references/primitives/checkbox-group.md1.9 KB
View
references/primitives/alert-dialog.md2.9 KB
View
references/primitives/calendar.md1.4 KB
View
references/primitives/kbd.md1.2 KB
View
references/primitives/select.md3.7 KB
View
references/primitives/checkbox.md2.0 KB
View
references/primitives/menu.md3.3 KB
View
references/primitives/tabs.md1.9 KB
View
references/rules/styling.md4.8 KB
View
references/component-registry.md5.1 KB
View
references/primitives/badge.md1.6 KB
View
references/primitives/field.md2.3 KB
View
references/cli.md3.1 KB
View
references/primitives/avatar.md1.6 KB
View
references/primitives/empty.md1.6 KB
View
references/primitives/frame.md1.7 KB
View
references/primitives/accordion.md2.1 KB
View
references/primitives/button.md2.5 KB
View
references/primitives/input.md1.8 KB
View
references/primitives/scroll-area.md3.5 KB
View
references/primitives/spinner.md1.5 KB
View
references/primitives/alert.md2.1 KB
View
references/primitives/dialog.md4.0 KB
View
references/primitives/preview-card.md1.8 KB
View
references/primitives/sheet.md2.6 KB
View
references/primitives/toggle-group.md2.0 KB
View
references/primitives/breadcrumb.md1.8 KB
View
references/primitives/fieldset.md1.3 KB
View
references/primitives/input-group.md2.7 KB
View
references/primitives/radio-group.md2.4 KB
View
references/primitives/card.md1.9 KB
View
references/primitives/drawer.md3.0 KB
View
references/primitives/popover.md2.5 KB
View
references/primitives/separator.md1.3 KB
View
references/primitives/toast.md3.5 KB
View
references/primitives/combobox.md2.9 KB
View
references/primitives/form.md2.9 KB
View
references/primitives/otp-field.md2.4 KB
View
references/primitives/command.md2.9 KB
View
references/primitives/number-field.md2.2 KB
View
SKILL.md5.5 KB
View
references/primitives/group.md1.6 KB
View
references/primitives/progress.md1.5 KB
View
references/primitives/skeleton.md1.5 KB
View
references/primitives/toolbar.md2.2 KB
View
references/primitives/label.md1.3 KB
View
references/primitives/table.md2.7 KB
View
references/rules/migration.md5.0 KB
View
references/primitives/meter.md1.5 KB
View
references/primitives/sidebar.md3.9 KB
View
references/primitives/toggle.md1.7 KB
View
references/primitives/slider.md1.4 KB
View
references/primitives/tooltip.md2.2 KB
View
references/primitives/switch.md1.7 KB
View
references/rules/forms.md1.7 KB
View
references/rules/composition.md1.5 KB
View

Install coss

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

cosscom/coss