skeletal-ui eject <Name>
Copies a generated .skeleton.tsx into your source tree so you can edit it freely. Ejected files are never overwritten by future analyze runs.
npx skeletal-ui eject UserCardWhat it does
- Finds the generated
UserCard.skeleton.tsx - Adds
skeletal:ejectedto the file header - Marks the file as ejected in the config so future
analyzeruns skip it
Ejected file header
// skeletal:hash:a1b2c3d4
// skeletal:ejected
// skeletal:pattern:rscWhen to use
Eject a skeleton when:
- The generated output doesn't match your design intent
- You want to compose multiple
Sk.*primitives differently - You want to add conditional rendering or custom logic
After ejecting
You own the file. analyze will never touch it again. check will still verify that the source component's hash hasn't changed — if the component changes significantly after ejection, check will warn you.