{"schemaVersion":1,"id":"ai-elements","name":"AI Elements","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/ai-elements/","officialUrl":"https://github.com/vercel/ai-elements","isCatalog":false,"description":"React AI interface components built on shadcn/ui: they help visualize messages, reasoning, and other AI application states.","tasks":["Build an AI conversation interface","Connect them to message streams and generation states from your own backend"],"categoryIds":["frontend","design"],"subcategoryIds":["frontend.components","design.systems"],"tags":["AI Elements","UI","Development"],"aliases":["vercel/ai-elements","ai-elements","vercel-ai-elements","ai-component-library","shadcn-ui-ai"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under Apache-2.0.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"Apache-2.0 for the code; third-party components retain their own terms.","selectionGuide":{"purpose":"Build an AI conversation interface","chooseWhen":["Build an AI conversation interface","Connect them to message streams and generation states from your own backend"],"considerInstead":[],"requirements":["A prepared Next.js/React project with AI SDK and shadcn/ui; Tailwind configured with CSS variables."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: Apache-2.0 for the code; third-party components retain their own terms."],"faq":[{"question":"What can you use for free in AI Elements?","answer":"Code and local use under Apache-2.0."},{"question":"What additional costs might arise with AI Elements?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for AI Elements?","answer":"Apache-2.0 for the code; third-party components retain their own terms."},{"question":"How do you get started with AI Elements?","answer":"Choose components for messages, input, and model response display. Connect them to message streams and generation states from your own backend. Configure styles and check empty, loading, and error states."},{"question":"Does AI Elements itself provide a model and its responses?","answer":"These interface components are added to your code and work with AI SDK. Connecting a model and paying for inference are separate application concerns. The README recommends AI Gateway but does not declare it the only mandatory provider."}],"related":[],"sources":["https://github.com/vercel/ai-elements","https://raw.githubusercontent.com/vercel/ai-elements/HEAD/README.md","https://raw.githubusercontent.com/vercel/ai-elements/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Build an AI conversation interface.","inputs":["The component's design, states, and data.","A compatible framework and the project's styles."],"steps":["Choose components for messages, input, and model response display.","Connect them to message streams and generation states from your own backend.","Configure styles and check empty, loading, and error states."],"checks":["The keyboard, focus indicators, and a screen reader let users complete the action.","The component works on a narrow screen and with long data values."]},"sources":["https://github.com/vercel/ai-elements","https://raw.githubusercontent.com/vercel/ai-elements/HEAD/README.md","https://raw.githubusercontent.com/vercel/ai-elements/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"UI library","kind":"library","pricingNote":"Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/vercel/ai-elements","label":"Official source"},{"url":"https://raw.githubusercontent.com/vercel/ai-elements/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/vercel/ai-elements/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"apache-2","title":"Apache 2.0 — permissive license with patent terms","scope":null,"summary":"You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.","url":"https://www.apache.org/licenses/LICENSE-2.0"}],"entryIds":[],"composition":null}