Shadwire

Search the documentation

Search the documentation and component pages by title and by content.

Get started
Introduction
Installation
shadwire.json
Theming
Dark mode
Tools
CLI
Agent skill
Registry
llms.txt
Guides
Composition
Styling
Forms
Icons
Accessibility
Localisation
Blocks
Overview
Components
Overview
Accordion
Alert
Alert Dialog
Aspect Ratio
Avatar
Badge
Breadcrumb
Button
Button Group
Calendar
Card
Carousel
Chart
Checkbox
Collapsible
Combobox
Command
Context Menu
Data Table
Date Picker
Dialog
Drawer
Dropdown Menu
Empty
Field
Hover Card
Icon
Input
Input Group
Input OTP
Item
Kbd
Label
Menubar
Native Select
Navigation Menu
Pagination
Popover
Progress
Radio Group
Resizable
Scroll Area
Select
Separator
Sheet
Sidebar
Skeleton
Slider
Sonner
Spinner
Switch
Table
Tabs
Textarea
Toggle
Toggle Group
Tooltip

llms.txt

The component catalog in plain text, for agents that have neither the skill nor a way to run the CLI.

The agent skill is the better option, because it looks at your app and knows what is installed. But not every agent supports skills, and not every agent can run commands. For those cases the registry also comes in two plain-text files, generated from the same data.

File Contents When to use it
/r/llms.txt Every component with its title, description and when-to-use text. Choosing a component. It is small enough for any context window.
/r/llms-full.txt Everything in llms.txt, plus the full API: helpers, variants, sizes, arguments and usage examples. Writing ERB with no way to consult the CLI.
curl -s https://shadwire.edumoraes.dev.br/r/llms.txt
curl -s https://shadwire.edumoraes.dev.br/r/llms-full.txt

Format

Plain Markdown, following the llms.txt convention: a title, a short summary, and sections for how to install, the licence of the code, and the catalog itself.

# shadwire 0.2.0

shadcn/ui components for Ruby on Rails, delivered as source your app owns.
Components are copied into the app by the CLI; there is no runtime
dependency on Shadwire.

## Install

What they can't tell you

These files describe the registry, not your app. They list all 57 components, including the ones you have not installed, and the helpers of those components do not exist in your app.