René's URL Explorer Experiment


Title: improvement(emcn): extract design system into shared @sim/emcn package by waleedlatif1 · Pull Request #5257 · simstudioai/sim · GitHub

Open Graph Title: improvement(emcn): extract design system into shared @sim/emcn package by waleedlatif1 · Pull Request #5257 · simstudioai/sim

X Title: improvement(emcn): extract design system into shared @sim/emcn package by waleedlatif1 · Pull Request #5257 · simstudioai/sim

Description: Summary Extracted the emcn design system (177 files) into a shared @sim/emcn package, consumed directly by both apps/sim and apps/docs — one source of truth, no duplication. Moved cn, keyboard, and use-copy-to-clipboard into the package. Rewrote all apps/sim imports to direct @sim/emcn (icons via @sim/emcn/icons, CSS modules via file path); removed the @/components/emcn alias and the old re-export shims. apps/docs now consumes @sim/emcn directly — deleted its hand-rolled chip / chip-dropdown / dropdown-menu mirrors and bridged the few missing CSS tokens. Made ChipModal email validation prop-driven: the design system keeps only a generic syntax gate; app-specific disposable-domain policy (quickValidateEmail) stays in apps/sim and is injected via the field's validate prop (3 invite call sites), preserving behavior. Barrel resolves the Calendar / Table component-vs-icon name collisions explicitly (the icon stays available from @sim/emcn/icons). Updated the import conventions in CLAUDE.md and the rules. Type of Change Improvement / refactor Testing apps/sim typecheck: 0 errors apps/docs typecheck: 0 errors @sim/emcn typecheck: 0 errors, 10 tests pass Monorepo + realtime boundary checks pass check:api-validation passes biome clean Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Extracted the emcn design system (177 files) into a shared @sim/emcn package, consumed directly by both apps/sim and apps/docs — one source of truth, no duplication. Moved cn, keyboard, an...

X Description: Summary Extracted the emcn design system (177 files) into a shared @sim/emcn package, consumed directly by both apps/sim and apps/docs — one source of truth, no duplication. Moved cn, keyboard, an...

Opengraph URL: https://github.com/simstudioai/sim/pull/5257

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6a0c95a8-b02d-ff90-33d5-0476d461e64e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9F98:394173:93A5BC:CAE3E7:6AFB4A37
html-safe-noncedc5b170eba55d50a4c3d5370a89f7d7b7dcff7f29d51eed9dce0acb2037e4f95
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Rjk4OjM5NDE3Mzo5M0E1QkM6Q0FFM0U3OjZBRkI0QTM3IiwidmlzaXRvcl9pZCI6IjEwNDMwODUyMjU0MDkzMzM4MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac340db65ff6558dfd1836e71144dae8d94683f1d15a12523420ac6bb406feb3ca
hovercard-subject-tagpull_request:3953101440
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5257/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Extracted the emcn design system (177 files) into a shared @sim/emcn package, consumed directly by both apps/sim and apps/docs — one source of truth, no duplication. Moved cn, keyboard, an...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26504db649b58525278f77a52b80ba5f10d5f4de
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5257/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5257%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5257%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5257/files
Reloadhttps://github.com/simstudioai/sim/pull/5257/files
Reloadhttps://github.com/simstudioai/sim/pull/5257/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
feat/extract-emcn-packagehttps://github.com/simstudioai/sim/tree/feat/extract-emcn-package
Conversation 7 https://github.com/simstudioai/sim/pull/5257
Commits 1 https://github.com/simstudioai/sim/pull/5257/commits
Checks 15 https://github.com/simstudioai/sim/pull/5257/checks
Files changed https://github.com/simstudioai/sim/pull/5257/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5257/files
improvement(emcn): extract design system into shared @sim/emcn package https://github.com/simstudioai/sim/pull/5257/files#top
Show all changes 1 commit https://github.com/simstudioai/sim/pull/5257/files
c7d4e7f improvement(emcn): extract design system into shared @sim/emcn package waleedlatif1 Jun 29, 2026 https://github.com/simstudioai/sim/pull/5257/commits/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320
Clear filters https://github.com/simstudioai/sim/pull/5257/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5257/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5257/files
.claude/rules/emcn-components.mdhttps://github.com/simstudioai/sim/pull/5257/files#diff-a0a237e57d53a751ca901fccd23564947402293d6183be9abdb235a5ae4c58ee
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/.claude/rules/emcn-components.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-a0a237e57d53a751ca901fccd23564947402293d6183be9abdb235a5ae4c58ee
https://github.com/simstudioai/sim/pull/5257/files#diff-a0a237e57d53a751ca901fccd23564947402293d6183be9abdb235a5ae4c58ee
.claude/rules/sim-imports.mdhttps://github.com/simstudioai/sim/pull/5257/files#diff-19145dc289c6a311d7b98c873a27a06ac2bb28642f6109e84c20df2670e818c2
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/.claude/rules/sim-imports.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-19145dc289c6a311d7b98c873a27a06ac2bb28642f6109e84c20df2670e818c2
https://github.com/simstudioai/sim/pull/5257/files#diff-19145dc289c6a311d7b98c873a27a06ac2bb28642f6109e84c20df2670e818c2
.claude/rules/sim-styling.mdhttps://github.com/simstudioai/sim/pull/5257/files#diff-6cf48ff86dcf8172995c7b3a0af6e1d2c814fa197b04805cc922a5327f486ba8
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/.claude/rules/sim-styling.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-6cf48ff86dcf8172995c7b3a0af6e1d2c814fa197b04805cc922a5327f486ba8
https://github.com/simstudioai/sim/pull/5257/files#diff-6cf48ff86dcf8172995c7b3a0af6e1d2c814fa197b04805cc922a5327f486ba8
https://github.com/simstudioai/sim/pull/5257/files#diff-6cf48ff86dcf8172995c7b3a0af6e1d2c814fa197b04805cc922a5327f486ba8
https://github.com/simstudioai/sim/pull/5257/files#diff-6cf48ff86dcf8172995c7b3a0af6e1d2c814fa197b04805cc922a5327f486ba8
.cursor/rules/emcn-components.mdchttps://github.com/simstudioai/sim/pull/5257/files#diff-518ab050e77ca1b433344a9866f0f1f81eb9aa0e2529a96962e92406a0108124
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/.cursor/rules/emcn-components.mdc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-518ab050e77ca1b433344a9866f0f1f81eb9aa0e2529a96962e92406a0108124
https://github.com/simstudioai/sim/pull/5257/files#diff-518ab050e77ca1b433344a9866f0f1f81eb9aa0e2529a96962e92406a0108124
.cursor/rules/sim-imports.mdchttps://github.com/simstudioai/sim/pull/5257/files#diff-b4a0b977f1978f0dd5d259e7cb5f1bcc9ee7fe12c6e32aa5a0148fbf85bff319
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/.cursor/rules/sim-imports.mdc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-b4a0b977f1978f0dd5d259e7cb5f1bcc9ee7fe12c6e32aa5a0148fbf85bff319
https://github.com/simstudioai/sim/pull/5257/files#diff-b4a0b977f1978f0dd5d259e7cb5f1bcc9ee7fe12c6e32aa5a0148fbf85bff319
.cursor/rules/sim-styling.mdchttps://github.com/simstudioai/sim/pull/5257/files#diff-301ed3dba0029ef196ef3bebea22d7ee7fafac3acf7c3f80c3e1a8581783e6e5
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/.cursor/rules/sim-styling.mdc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-301ed3dba0029ef196ef3bebea22d7ee7fafac3acf7c3f80c3e1a8581783e6e5
https://github.com/simstudioai/sim/pull/5257/files#diff-301ed3dba0029ef196ef3bebea22d7ee7fafac3acf7c3f80c3e1a8581783e6e5
https://github.com/simstudioai/sim/pull/5257/files#diff-301ed3dba0029ef196ef3bebea22d7ee7fafac3acf7c3f80c3e1a8581783e6e5
https://github.com/simstudioai/sim/pull/5257/files#diff-301ed3dba0029ef196ef3bebea22d7ee7fafac3acf7c3f80c3e1a8581783e6e5
CLAUDE.mdhttps://github.com/simstudioai/sim/pull/5257/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/CLAUDE.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7
https://github.com/simstudioai/sim/pull/5257/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7
https://github.com/simstudioai/sim/pull/5257/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7
https://github.com/simstudioai/sim/pull/5257/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7
https://github.com/simstudioai/sim/pull/5257/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7
apps/docs/app/[lang]/not-found.tsxhttps://github.com/simstudioai/sim/pull/5257/files#diff-c5807e1ec9d8cf9be56e31fcad98d1697e6eab090da1f4ed4a48e105cb6a9b7d
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/apps/docs/app/%5Blang%5D/not-found.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-c5807e1ec9d8cf9be56e31fcad98d1697e6eab090da1f4ed4a48e105cb6a9b7d
apps/docs/app/global.csshttps://github.com/simstudioai/sim/pull/5257/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/apps/docs/app/global.css
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/5257/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/5257/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/5257/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
apps/docs/components/navbar/navbar.tsxhttps://github.com/simstudioai/sim/pull/5257/files#diff-495170f6f1f81193d0798d933690a6dd1cce1035c6a78567e2047a6b88a5322d
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/apps/docs/components/navbar/navbar.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-495170f6f1f81193d0798d933690a6dd1cce1035c6a78567e2047a6b88a5322d
apps/docs/components/page-actions.tsxhttps://github.com/simstudioai/sim/pull/5257/files#diff-6fe0c65956fa562e54609bce2103da210960e6e311981d23aabfcdf196488887
View file https://github.com/simstudioai/sim/blob/c7d4e7fbe4b459a6a6bbebf35f11c63bdfd1c320/apps/docs/components/page-actions.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5257/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5257/files#diff-6fe0c65956fa562e54609bce2103da210960e6e311981d23aabfcdf196488887
apps/docs/components/ui/chip-dropdown.tsxhttps://github.com/simstudioai/sim/pull/5257/files#diff-521de3f3f32c30fab2aa9908661fea3e80496eca0aa21113d22a95ab5920adae
View file https://github.com/simstudioai/sim/blob/c59631698f976ad2c9df29b384f1f98be9805bcf/apps/docs/components/ui/chip-dropdown.tsx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/5257/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5257/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5257/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.