Skip to content

[Toolkit][Shadcn] Add native-select recipe - #3743

Open
laurentdav wants to merge 1 commit into
symfony:3.xfrom
laurentdav:feature/toolkit-shadcn-native-select
Open

[Toolkit][Shadcn] Add native-select recipe#3743
laurentdav wants to merge 1 commit into
symfony:3.xfrom
laurentdav:feature/toolkit-shadcn-native-select

Conversation

@laurentdav

@laurentdav laurentdav commented Jul 30, 2026

Copy link
Copy Markdown
Q A
Bug fix? no
New feature? yes
Deprecations? no
Documentation? yes
Issues Part of #3233
License MIT

Shadcn now distinguishes the native HTML control from its fully custom Select component. This adds the native-select recipe so the native behavior has the same dedicated API in Symfony UX Toolkit.

The recipe includes NativeSelect, NativeSelect:Option, and NativeSelect:OptGroup, the upstream size and validation states, LTR/RTL styling, and all upstream examples. The existing select recipe remains unchanged in this PR; #3744 aligns it with the custom upstream component, in keeping with the one-recipe-per-PR convention.

No companion site change is required: the current documentation renders recipe READMEs directly and its Tailwind entry scans the installed Shadcn kit.

Tests:

  • bin/ux-toolkit-kit-lint --fail-on-warning kits/shadcn
  • pnpm exec oxfmt --check src/Toolkit/CHANGELOG.md src/Toolkit/kits/shadcn/native-select/README.md src/Toolkit/kits/shadcn/native-select/manifest.json
  • php -d memory_limit=-1 vendor/bin/phpunit (1083 tests, 2622 assertions)

@seb-jean

Copy link
Copy Markdown
Contributor

Duplicate of #3479

@laurentdav
laurentdav marked this pull request as ready for review August 4, 2026 20:47
@laurentdav
laurentdav requested a review from Kocal as a code owner August 4, 2026 20:47
@carsonbot carsonbot added Documentation Improvements or additions to documentation Feature New Feature Toolkit Status: Needs Review Needs to be reviewed labels Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation Feature New Feature Status: Needs Review Needs to be reviewed Toolkit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants