/wideset:wideset-buildfrom wideset
Build or change screens with Wideset. Helps choose between similar components, combine them into forms or tables, and debug runtime behavior.
Ships in wideset. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The component source is in the project, or at https://wideset.co/components/<id>.md. Read it for exact props. This skill holds what source cannot tell you: which component fits, how they combine, and what breaks without an error.
The pages here and on the docs site are written once. Their examples import from @wideset/react. In registry mode (components/ui/wideset/ in the source) keep the code and take each import from registry-imports, since paths cannot be guessed from names.
For a new app, pick its visual direction and start from its screen. Once per app, before the first screen: directions describes Inset (page a raised card on the grey frame), Flat (one white surface, lines), Frame (navigation on a grey tint, page white) and Canvas (grey page, content in white cards). If the person gave a screenshot or a reference, match its surround; otherwise ask, or take the default it names. Set it once with <AppShell direction>. Then start from the closest whole screen rather than an empty file: https://wideset.co/blocks.md lists them, and https://wideset.co/blocks/<id>.md holds each one's code (calendar for Inset, kanban, process, finance-dashboard for Flat, communication for Frame, crypto for Canvas). Keep its AppShell and replace its content. In an existing app, keep the direction it already has. Sign in and sign up start from sign-in, sign-in-card or sign-up.
Find the screen's pattern and copy its structure:
| Building | Read |
|---|---|
| The frame: navigation, toasts | app-shell |
| A form or settings page | form-page |
| A table with search, filters, pages | list-and-filters |
| One row's detail, opened beside the list | detail-in-sidepanel |
| Delete or another action hard to undo | confirm-destructive |
| Success, error, loading and empty states | page-feedback |
| Several components sharing state or value | composition |
| Sign in, sign up, a password reset | auth |
| Anything else | the specs index, which lists every component |
Choose each component from its group, not from what looks close. Each group file asks the questions in order: actions, inputs, selection, date and time, feedback, navigation, overlays, data display, layout.
Before using a component, read its file. good-practices lists them: when to use it, when not, do and don't, and Gotchas, where working code goes wrong. Read its source for props.
Choose by what the thing does. These pairs get mixed up most:
| Need | Use | Not |
|---|---|---|
| A few options a person compares at a glance | RadioButton.Group | Select |
| A list of commands that run when picked | DropdownMenu | Select |
| A value typed, or filtered while typing | ComboBox | Select |
| A setting that applies at once | Switch | Checkbox |
| A yes or no that applies on submit | Checkbox | Switch |
| Sections of a page | Tabs | SegmentedControl |
| Two to five in-place options or views | SegmentedControl | Tabs |
| A state (active, failed) | StatusBadge | Tag |
| A category | Tag | StatusBadge |
| Something clickable or removable | Chip | Tag |
| A short decision or small form that blocks | Modal | Sidepanel |
| Detail or a long form beside the page | Sidepanel | Modal |
| Going to another page, as a text link | LinkButton | Button + onClick |
| A search field | TextInput, composed | Search |
Sidebar is one tree for both modes: put the nav and Sidebar.Trigger straight into Sidebar.Header / Sidebar.Section. Sidebar.Expanded and Sidebar.Collapsed wrap only what exists in one mode; never duplicate the nav in both.Button needs asChild; without it a button nests in a button.persistent, showCloseButton and autoFocusOnOpen go on Modal.Content, not on Modal.Modal.Close asChild closes at once. For a save that can fail, control open and close it yourself.open does not reset what is inside. Reset the form when the modal opens, not when it closes.FormField wires only one direct child. Set WrapperComponent="fieldset" for a group, and do not wrap the control in a Fragment.errorText does not turn the border red: also set variant="danger" on the control, every time errorText is set: <FormField label="Country" htmlFor="country" errorText={error}><Select id="country" variant={error ? 'danger' : 'primary'} … /></FormField>.CheckboxGroup or RadioButtonGroup has no accessible name until you give it one. FormField renders no legend: put id on the FormField, then aria-labelledby with that id on the group (or aria-label when there is no heading): <FormField label="Notify me by" id="notify-label" WrapperComponent="fieldset"><CheckboxGroup aria-labelledby="notify-label">….Select has two forms, options or composed parts, and they do not mix. A composed Select takes id, size and aria-* on Select.Trigger.value cannot be '': the empty string means no value.Tile.Radio works only inside Tile.RadioGroup, and a selectable tile holds no other controls.Toast is imperative: mount one ToastProvider in the shell and call useToast().showToast.Select uses onValueChange(value), ComboBox uses onChange(value) and TextInput uses onChange(event).z-* to them.p-4 is Tailwind's 1rem, while p-ws-4 is Wideset's 0.375rem. Zero is p-ws-0 too, never p-0 or mt-0.Style only with ws classes, and let components own their looks: className is for layout. Look up a token at https://wideset.co/docs/tokens.md.
For how a finished screen should look, and for the rules on token choice, focus, icons, words and responsive layout, load wideset-craft.
Re-read what you wrote, and fix any of these:
<button>, <input>, <select> or <table> where Wideset has a component.FormField with errorText whose control has no variant, or a checkbox or radio group with no aria-labelledby or aria-label.ws for spacing, colour, radius or type, or a dark: variant.Gotchas line in a component's good-practices file that your code breaks.Run the type-checker with the project's config and fix all it reports: npx tsc --noEmit, or npx tsc --noEmit -p tsconfig.app.json in a Vite project, whose root tsconfig.json checks no files.
Then load wideset-review when the screen is done.
references/good-practices.md (opens in a new tab)references/good-practices/accordion.md (opens in a new tab)references/good-practices/action-bar.md (opens in a new tab)references/good-practices/action-tile.md (opens in a new tab)references/good-practices/app-shell.md (opens in a new tab)references/good-practices/avatar.md (opens in a new tab)references/good-practices/breadcrumbs.md (opens in a new tab)references/good-practices/button.md (opens in a new tab)references/good-practices/calendar.md (opens in a new tab)references/good-practices/card.md (opens in a new tab)references/good-practices/checkbox-group.md (opens in a new tab)references/good-practices/checkbox.md (opens in a new tab)references/good-practices/chip.md (opens in a new tab)references/good-practices/combo-box.md (opens in a new tab)references/good-practices/count.md (opens in a new tab)references/good-practices/date-picker.md (opens in a new tab)references/good-practices/date-range-picker.md (opens in a new tab)references/good-practices/divider.md (opens in a new tab)references/good-practices/dropdown-menu.md (opens in a new tab)references/good-practices/file-item.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
wideset, ui-components, screen-building, component-selection
npx claudepluginhub widelab-co/wideset --plugin wideset4 skills in this plugin
/wideset-craftThe composition and taste layer for any UI built with Wideset, the judgement that turns a correct screen into a sharp one. Use it whenever you generate, design, compose or review a screen, page, flow, form, dashboard, modal or template with `@wideset/react`, even when the request only says "build a screen" or "make it look good". The component references say which component and token exists; this skill says which one to pick, at which size, how to space, align and stack it, and how to check the result. Also use it when someone asks for "bigger", "denser", "calmer", "more premium" or "less generic" Wideset UI./wideset-reviewReview UI built with Wideset before calling it done. Use when finishing a screen, when asked to review or audit a Wideset page or component usage, or on any change to theming. Gives a verdict with concrete fixes, using reviewer agents when available./wideset-setupOther plugins' skills for the same job