Shadcn Component Structure

Ensures generated React components follow shadcn/ui structural conventions -- forwardRef/ref handling, cn() className merging, cva-based variants, proper prop interfaces extending native element types, and correct file placement. Use when generating or reviewing component code meant to fit into a shadcn/ui-based codebase.

Qredence Updated 3 repo stars

File contents

Qredence/skills commit e7aee18a66

Frequently asked questions

npx get-skill add qredence/shadcn-component-structure