shadcn/ui
✓ VerifiedGitHubBeautifully designed, accessible React components built with Radix UI and Tailwind CSS.
Releases
40shadcn@4.18.0
6 days ago
Minor Changes
- #11501
aef1cdca54e8da689351cdddf959342909e45e76Thanks @shadcn! - merge registries from package.json and components.json, and support adding registries to package.json when components.json is not present
Patch Changes
-
#11500
e66b99b14dd9c54afc434dbf5a702f170b1153b0Thanks @shadcn! - Skip unreadable directories during file scans instead of failing withEACCES. -
#11504
9f4e3ff26025d16a243ea03cc891c734c4cf0b59Thanks @shadcn! - Skip unreadable directories when resolving monorepo targets. -
#11502
87d71b3629c34f3c38a353a211ec8591c1ff1721Thanks @shadcn! - resolve registries declared in package.json when adding components.shadcn add,search,viewandinitnow resolve registries from package.json in memory without persisting them to components.json -
#9248
03c45b822e60195796dfd3d2fcf7c223ff4ece86Thanks @Grafikart! - Fix shadcn for projects with unreadable permission files
@shadcn/helpers@0.2.0
1 week ago
Minor Changes
-
#11484
401d10b8180b17eb1fdd36d537abaa8aeb68708fThanks @shadcn! - Add human-in-the-loop mocking for the AI SDK. -
#11484
401d10b8180b17eb1fdd36d537abaa8aeb68708fThanks @shadcn! - MakecreateChatgeneric over the UI message type, likeuseChat.
shadcn@4.17.0
1 week ago
Minor Changes
-
#10453
deda4df80fb350230b2fce2b575e769a90cae076Thanks @nbouvrette! - Add SOCKS4/SOCKS5 proxy support to the registry HTTP stack viaALL_PROXY=socks5://...(the curl convention), backed by thesockspackage.Proxy selection now goes through a
createProxyDispatcher(env)factory that checksALL_PROXY/all_proxyfor asocks*://URL before falling back to the existing HTTP/HTTPS handling.ALL_PROXYwith a non-SOCKS scheme is ignored here —HTTP_PROXY/HTTPS_PROXYremain the way to configure those. ExistingHTTPS_PROXY/HTTP_PROXY/NO_PROXYhandling viaundici.EnvHttpProxyAgentis unchanged.
shadcn@4.16.2
2 weeks ago
Patch Changes
- #11348
df664e1bba86c6712bc5e08c8626590dca736089Thanks @OwenKephart! - Include registry item titles insearchRegistriesresults and fuzzy matching.
@shadcn/react@0.3.0
2 weeks ago
Minor Changes
- #11414
3e54530e31020e2277df03490a30a08e3bc1792bThanks @shadcn! - Add the Questionnaire primitive for multi-step questions, freeform answers, validation, and keyboard navigation.
shadcn@4.16.1
2 weeks ago
Patch Changes
-
#11322
bfa1b5e9a69a155b2f590523d50fda810bde1a9aThanks @AndrewBarba! - fixshadcn buildfailing with ENOENT when registry item names contain path segments (e.g.extension/foo) by creating nested output directories before writing -
#11352
5ca53ca7c7dea390e0e78091ff7c54adc48c773aThanks @shadcn! - forward search params to registries for server-side dynamic search
shadcn@4.16.0
3 weeks ago
Minor Changes
-
#11307
431da7169cae753643e67e56e168b93ec31dfe90Thanks @shadcn! - make addRegistryItems accept explicit registry configuration instead of loading components.json -
#11304
bf906bb8aeebc64d374afb54497b822d587ac6d7Thanks @shadcn! - add getRegistriesConfig and registries in package.json support
shadcn@4.15.0
3 weeks ago
Minor Changes
- #11276
7d90dfc0a5ec70cdc3bd08b741a42440041907acThanks @cmpadden! - Add a publicaddRegistryItemsAPI for installing registry items programmatically without invoking the CLI.
shadcn@4.14.1
3 weeks ago
Patch Changes
- #11266
6cd3f4c65c361ab6554e06a77e6a0af9cf8b6e37Thanks @shadcn! - Add Base UI Toast support.
shadcn@4.14.0
0 months ago
Minor Changes
- #11241
3c26ee2dbd3a772c1cddc2c76249cc1cb0a250d5Thanks @shadcn! - add support for icon migration
shadcn@4.13.1
1 month ago
Patch Changes
-
#11196
c49c3061b5b86b130736d36bf20008349f89b416Thanks @shadcn! - Drop custom registry headers on cross-origin redirects to prevent credential leakage. -
#11191
df2656111fc8ca030eb768ade2da26cef2fd11b5Thanks @shadcn! - Validate file paths for registry items without an explicit target to prevent path traversal. -
#11195
b8a8e9209659fa810514b61c60ad593bc81973f9Thanks @shadcn! - Prevent flag injection from registry-supplied dependency strings during install. -
#11208
2b89d67e19ceda27381477e127b349f9aaa25355Thanks @shadcn! - Add React Aria support.
@shadcn/react@0.2.1
1 month ago
Patch Changes
-
#11106
f6a26478547c7057aeda82516666dc3473dc39bdThanks @shadcn! - Fix MessageScroller autoScroll around anchored turns: the anchor hold now hands off to follow-output once the streamed reply fills the viewport, content growth outrunning the frame-coalesced resize handler no longer releases follow-output, and the scroll button no longer flickers while follow-output closes the gap a streamed chunk just opened. -
#11100
dd6ce77cf1606eee2839368a97cc35417f763232Thanks @shadcn! - Fix MessageScroller abandoning a newly appended scrollAnchor placement when autoScroll is enabled, so the anchored turn holds at the reading line while the reply streams. -
#11085
628e427231ca4bb7f586a69f99fe7809749a53e2Thanks @devnomic! - Fix MessageScroller firing "ResizeObserver loop completed with undelivered notifications" during streamed content growth by coalescing ResizeObserver callbacks into requestAnimationFrame.
shadcn@4.13.0
1 month ago
Minor Changes
- #11082
f3e7de11752b087b1c4bf61f4035a866f3a4f9edThanks @shadcn! - base-ui is now default
@shadcn/react@0.2.0
1 month ago
Minor Changes
- #11022
18fcf0f766857a7249cc0daac3c1609610edd158Thanks @shadcn! - initial release of @shadcn/react
shadcn@4.12.0
1 month ago
Minor Changes
- #11022
18fcf0f766857a7249cc0daac3c1609610edd158Thanks @shadcn! - add scroll-fade and shimmer utilities
shadcn@4.11.1
1 month ago
Patch Changes
-
#10905
9197676b3d09b77f51b17b63e5978db29e498ca4Thanks @shadcn! - replace node-fetch with native fetch -
#10967
365d53b590a6ddb79c1487a9dbeabcde5f4ac37fThanks @shadcn! - Preserve existing dependency specifiers in package.json when runningshadcn add.
shadcn@4.11.0
2 months ago
Minor Changes
- #10886
05eb2b968bdc769ad78df9628dc2260e1dec903cThanks @shadcn! - improve search command
Patch Changes
- #10851
7dfd933102fdb881f8abd24fc1ef11a669682b94Thanks @harshithasompura! - move msw to devDependencies
shadcn@4.10.0
2 months ago
Minor Changes
- #10842
7c63c467361dee9e20631b2999040912439b35d4Thanks @shadcn! - add support for GitHub registries. See the docs.
shadcn@4.9.0
2 months ago
Minor Changes
- #10834
8e2d2d1439f54260aa0c51747261c220334ec641Thanks @shadcn! - add npx shadcn eject
shadcn@4.8.3
2 months ago
Patch Changes
-
#10659
07900769d91b09def00e68179bcb7a821f59b954Thanks @raashish1601! - update template handling -
#10495
360e8a19c3ee13ac78b656027462007c8bdaa6d5Thanks @artemxknpv! - Preserve quotes in className literals when applying RTL transforms.
shadcn@4.8.2
2 months ago
Patch Changes
- #10786
55ea86f2525e63c2d0373754314f0e31212572d2Thanks @shadcn! - Update template handling.
shadcn@4.8.1
2 months ago
Patch Changes
- #10779
df1752dfe092957f84aa467d2270436139e3ecc7Thanks @shadcn! - add style rhea
shadcn@4.8.0
3 months ago
Minor Changes
-
#10715
51e3cfaf32faeff2589e5c74d81ffd109f509e93Thanks @shadcn! - add shadcn registry validate command -
#10708
c8ab3801ecf97c0350ac0234a25e61f19ccaba62Thanks @shadcn! - add include to registry.json
Patch Changes
- #10567
1c4a53a37adeba36dbd5c07980c5bb6d295cea9eThanks @shadcn! - fix failing version derivation test
shadcn@4.7.0
3 months ago
Minor Changes
-
#10519
eb42ae25fda81e90e621f1e334e5126b1f22371dThanks @shadcn! - add support for package imports -
#10528
309d95017fce3936548c15d2ef827c84560cc45aThanks @shadcn! - allow alias placeholders in target for registry items
Patch Changes
- #10559
28b3e5f36086677b0533583817407d8f936a567bThanks @shadcn! - add previous version error suggestion
shadcn@4.6.0
3 months ago
Minor Changes
-
#10530
ea6086cbcc33b359bb876651374e26f643ea85b1Thanks @shadcn! - add shadcn preset commands -
#10516
c236d0c009b4ff87c77a04c618d2b348cac7cdcbThanks @shadcn! - add preset info to npx shadcn info
Patch Changes
-
#10526
55fd4dc71be9e6410a528d6ce6bc7287ffba262cThanks @shadcn! - update docs and info urls -
#10524
6dea65ebcbbdb8773b3072ca74c9cee4e386988bThanks @shadcn! - fix apply in monorepo
shadcn@4.5.0
3 months ago
Minor Changes
-
#10488
eb6e783fb3861aba3b35289a473954080e6f1607Thanks @shadcn! - add --pointer option to cli.npx shadcn init --pointer will enable cursor: pointer on buttons.
shadcn@4.4.0
4 months ago
Minor Changes
- #10451
e456fed9d3f0b7aacf7084aecc02a75e8fde622dThanks @shadcn! - add apply --only
Patch Changes
9c572ab778b5a0ab42693eb07bc4a75d0c24603eThanks @shadcn! - fix chartColor in presets
shadcn@4.3.1
4 months ago
Patch Changes
-
#10436
b7cfc364aca36bc90f8efa86773bc81011502036Thanks @shadcn! - Ensureinitonly runs template post-init hooks for newly created projects. -
#10179
d00605c5fb5fe3cfbcb68cea65398430cdd819f8Thanks @EthanThatOneKid! - SendAccept: application/vnd.shadcn.v1+json, application/json;q=0.9andUser-Agent: shadcnon registry fetches so servers using HTTP content negotiation can reliably serve JSON to the CLI. Fixes #10164.
shadcn@4.3.0
4 months ago
Minor Changes
- #10416
101741046813622d48c081dfc19c40d0aa76484bThanks @shadcn! - add style sera
shadcn@4.2.0
4 months ago
Minor Changes
- #10313
c1e29824cd7a6809448e45b6b7fe8f7be71ecb0fThanks @shadcn! - add shadcn apply command
shadcn@4.1.2
4 months ago
Patch Changes
- #10246
44c09a19b0658cf8e72ac84bbba5b76e05192a0dThanks @shadcn! - add style luma
shadcn@4.1.1
4 months ago
Patch Changes
- #10202
12b49c986fcf7e6db9be7f515df6142f822f2236Thanks @shadcn! - fix packageManager in package.json
shadcn@4.1.0
5 months ago
Minor Changes
-
#10115
687f09817b614a3450f0f56779edf367082e1e53Thanks @shadcn! - add fontHeading to presets -
#10115
687f09817b614a3450f0f56779edf367082e1e53Thanks @shadcn! - add chartColor
shadcn@4.0.8
5 months ago
Patch Changes
- #10041
a97ebe54f1824032d8ad00d1d0c079e3dc6f52d7Thanks @shadcn! - Bundle @antfu/ni and tinyexec to fix missing module error with npx
shadcn@4.0.7
5 months ago
Patch Changes
- #9929
f9b365bc7f9d591c995952976711dbdd7b1bc45aThanks @kapishdima! - add dependency field to registry:font
shadcn@4.0.6
5 months ago
Patch Changes
- #10022
7e93eb81ea8160c06c86f98bb6bfeb1ddfd0d237Thanks @shadcn! - ensure monorepo respect package manager
shadcn@4.0.5
5 months ago
Patch Changes
- #9960
5ee456735377158c12cf55eefbe872f7303e1325Thanks @shadcn! - update handling of init urls
shadcn@4.0.4
5 months ago
Patch Changes
- #9957
aa841e35cf405e574123478b46f4058cff0e179aThanks @shadcn! - fix cache in resolveRegistryBaseConfig
shadcn@4.0.3
5 months ago
Patch Changes
- #9950
ce2c3ca688916db4fdb5fe173e9c6902f78696edThanks @shadcn! - add support for translucent menu
shadcn@4.0.2
5 months ago
Patch Changes
- #9903
f5ac4a0d2aa5af87202f67558a4b9b8f92c00bd2Thanks @shadcn! - scaffold templates from github remote