Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Bestax: Forms

БесплатноБез исполняемых скриптовНе проверен

Build forms with @allxsmith/bestax-bulma — Field/Control/Label/Help composition, inputs, selects, checkboxes, radios, switches, and advanced controls…

allxsmithот allxsmith361 установка в других каталогах

Об этом скилле

Building forms with bestax-bulma

This skill covers the form components in @allxsmith/bestax-bulma and how to compose them.

Important: bestax-bulma ships no form/validation library — there is no integration with formik, react-hook-form, yup, or zod, and no useForm-style hook. You own your form state with plain React (useState / useReducer or any library you choose) and feed validation results back via each input's own color, message, and messageColor props on the convenience inputs (Input, Select, TextArea, …). Always put validation state on the input: Field has no message/messageColor, and although FieldProps types a color, Field discards it — it renders no class, so setting it looks right and does nothing. (FieldLabel/FieldBody do honor color, as the has-text-* helper.) See Validation without a library below.

Use when

  • Building a form out of bestax inputs, selects, checkboxes, switches, or advanced controls.
  • Deciding between the convenience components (<Input label=… />) and explicit Field + Control + *Base composition.
  • Showing help text and error/success states on fields.

To build a brand-new input component (not just use the existing ones), use the bestax-custom-component skill instead.

Field / Control / Label / Help composition

Bulma forms are a three-tier structure. bestax models it directly:

Field            // container + layout (horizontal / grouped / hasAddons)
├── label        // rendered from Field's `label` prop, or <Field.Label> when horizontal
└── Control       // wraps ONE input; adds icons + loading
    ├── InputBase / SelectBase / TextAreaBase   // the raw styled element
    └── <p class="help">…</p>                    // help / validation message

You rarely write all of this by hand. The convenience components (Input, Select, TextArea, …) auto-wrap themselves in Field + Control when they aren't already inside one, using context (useInsideField / useInsideControl) to detect their surroundings.

// Convenience: one line, auto-wrapped in Field + Control.
<Input label="Email" type="email" placeholder="[email protected]" />

// Explicit composition: full control over layout.
<Field label="Email">
  <Control iconLeftName="envelope" hasIconsLeft>
    <InputBase type="email" placeholder="[email protected]" />
  </Control>
</Field>

Layout via Field

  • horizontal — label and control side by side (wraps children in Field.Body; use Field.Label / Field.Body directly for multi-control rows).
  • grouped — true | 'centered' | 'right' | 'multiline', controls in a row.
  • hasAddons — true | 'centered' | 'right', attached controls (input + button).
<Field hasAddons>
  <Control isExpanded>
    <InputBase placeholder="Search" />
  </Control>
  <Control>
    <Button color="primary">Go</Button>
  </Control>
</Field>

Component inventory

All import from @allxsmith/bestax-bulma. Convenience components auto-wrap Field+Control; *Base components are the raw styled elements for explicit composition.

Component What it is
Field, Field.Label, Field.Body Field container + horizontal label/body parts.
Control Wraps one input; left/right icons, isLoading, isExpanded, size.
Input / InputBase Text input (convenience / raw).
Select / SelectBase Dropdown select.
TextArea / TextAreaBase Multiline text.
Checkbox / Checkboxes Single checkbox / managed group (array value).
Radio / Radios Single radio / managed single-select group.
Switch Toggle switch (isRounded, isThin, isOutlined, RTL).
File File upload input with label/message.
Autocomplete Input with filtered dropdown suggestions + keyboard nav.
Slider Range slider; single/dual thumbs, steps, tooltips, vertical.
Numberinput Numeric input with increment/decrement, min/max, step, stepper.
Полный SKILL.md на ClawHub

Установить Bestax: Forms в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Bestax: Forms?

Build forms with @allxsmith/bestax-bulma — Field/Control/Label/Help composition, inputs, selects, checkboxes, radios, switches, and advanced controls (Autocomplete, Slider, Numberinput, Rate, Taginput, File, date/time). There is no form/validation library; this skill shows the components and the validate-it-yourself error pattern. Use when building a form, wiring inputs to state, or showing validation/error state.

Как установить скилл Bestax: Forms?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Bestax: Forms запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Bestax: Forms с