Feature Control Chip
Open Source
NewCompartmented drafting constraint chip requiring a genuine datum or source reference.
API and behavior
Compound exports, owned slots, interaction law, and family hook routing.
- Required props
symboltolerancetonereference- Optional props
modifiersecondaryReferencetertiaryReference- Controlled props
- None
- Companion exports
FeatureControlChip- Owned data-slot contract
feature-control-chipfeature-control-chip-cellfeature-control-chip-symbolfeature-control-chip-tolerancefeature-control-chip-reference
Motif route
MOTIF_REGISTRY.feature-control-chip → apparatusTarget('feature-control-chip')
Keyboard
Source references with href use native link keyboard behavior.
Accessibility
A genuine datum or source is required; empty symbols, tolerances, and labels fail fast.
Family hooks
Draft consumes compartment rules, tone ink, reference, and data-font hooks.
single datumlinked sourcethree-compartment constraintInstallation
npx shadcn@latest add @substrateui/feature-control-chip --yesUpgrading a project that installed base before F1? Refresh the shared hooks first:
npx shadcn@latest add @substrateui/base --yes --overwritenpm Dependencies
npm install class-variance-authorityTags
draftconstraintspecvalidation