form-checkbox-skill
Installation
SKILL.md
Skill: FormCheckbox (Reusable)
When To Use
Use this skill when implementing checkbox UI with @rds-vue-ui/form-checkbox in a Vue 3 project.
Success Criteria
- Component renders with base theme styles.
v-modelandchangedbehavior work correctly.- Disabled and indeterminate states are validated.
- Demo route/page exists.
- Build passes.
Inputs
- Framework:
Vue 3 - Package manager:
yarn(or npm/pnpm equivalent) - Private registry (required):
https://npm.edpl.us - Storybook URL:
https://rds-vue-ui.edpl.us/?path=/story/components-forms-formcheckbox--primary - Target files:
<APP_ENTRY><ROUTER_FILE><DEMO_PAGE_FILE><DEMOS_INDEX_FILE>
Dependencies
@rds-vue-ui/form-checkbox@rds-vue-ui/rds-theme-basesass-embedded(if SCSS preprocessing is required)
Registry Configuration (Required)
- Add/update
.npmrc:@rds-vue-ui:registry=https://npm.edpl.us/
- Validate package resolution:
npm view @rds-vue-ui/form-checkbox version --registry=https://npm.edpl.us/
Component Contract (Source-Aligned)
- Props (key set):
id(required)name,label,size,modelValue,checked,required,disablediconPosition,bounded,variant,tickColor,indeterminate- style variants:
checkedVariant,uncheckedVariant,focusedVariant,boundedActiveVariant,boundedActiveTextVariant,boundedVariant,labelVariant,labelWeight,labelSize,checkboxBgVariant
- Events:
update:modelValuechanged
- Slot:
default
- Storybook IDs:
- Docs:
components-forms-formcheckbox--docs - Stories:
components-forms-formcheckbox--primary,components-forms-formcheckbox--examples
- Docs:
Implementation Steps
- Configure
.npmrcfor the@rds-vue-uiscope. - Install packages from private registry.
- Import base theme once in app entry:
import '@rds-vue-ui/rds-theme-base/dist/css/rds-theme-base.css';
- Add demo implementation:
- default checkbox
v-modelbound checkbox- disabled checkbox
- indeterminate example
- Register route and add demos index link.
- Build and resolve dependency/style issues.
Verification Checklist
-
.npmrccontains@rds-vue-ui:registry=https://npm.edpl.us/. -
@rds-vue-ui/form-checkboxresolves from private registry. - Theme CSS imported exactly once.
-
v-modelupdates value both directions. -
changedevent fires on interaction. - Disabled checkbox blocks interaction.
- Build passes.
Failure Handling
- Registry/auth failure:
- verify
.npmrcscope + access tohttps://npm.edpl.us - retry
npm view @rds-vue-ui/form-checkbox version --registry=https://npm.edpl.us/
- verify
- SCSS failure:
- install
sass-embeddedand rebuild
- install
Related skills
More from ashwinikarnik/rds-skills
button-skill
Reusable workflow for implementing and validating the RDS Button component using @rds-vue-ui packages from the private registry, including theme wiring, examples, and QA checks.
10button-play-apollo-skill
Reusable workflow for implementing and validating @rds-vue-ui/button-play-apollo across projects, including registry setup, theme wiring, demo integration, and verification gates.
3