Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Free open-source UI component library for Astro with Svelte and React support, styled with Sass.
WebcoreUI is a free, open-source UI component library for Astro that also provides native Svelte and React versions, styled with Sass and written in TypeScript.
WebcoreUI is a collection of 50+ UI components, 25+ blocks, and four full page templates published by Frontendland as the webcoreui npm package. It takes Sass configuration via a webcore.config.scss file and outputs themed, responsive UI elements for Astro, Svelte, or React projects. The library includes a CLI (npm create webcore@latest) that generates new projects and integrates into existing Astro setups.
webcoreui/astro, webcoreui/svelte, and webcoreui/react, so the same component API works across frameworks.setup() mixin that enables options for CSS resets, utility classes, tooltips, scrollbar styles, breakpoint variables, and theme switching.--w-* CSS variables. Radius tokens like --w-sm-radius, --w-md-radius, and --w-lg-radius are also defined.npm create webcore@latest creates a new project, runs config to update an existing Astro project, or uses template Portfolio ./portfolio to scaffold a specific template into a chosen directory.setup() mixin accepts a theme option (dark by default) and a themes map to enable multiple themes activated by custom CSS selectors.Astro developers who want a pre-built component set without pulling in a CSS framework will use WebcoreUI to assemble pages quickly and override styles via Sass. Svelte and React teams can adopt the same components with framework-specific imports, reducing the need to rebuild UI primitives. Product teams building marketing sites, blogs, dashboards, or authentication flows can start from the included blocks and templates instead of designing from scratch.
npm create webcore@latest and build a landing page using Hero, SocialProof, and Team blocks.setup() mixin options in webcore.config.scss.npm create webcore@latest template Portfolio ./portfolio to get a complete project structure.After installing the package with npm i webcoreui, you add the webcore() integration to astro.config.mjs, create an empty webcore.config.scss at the project root, and import the library styles in a global SCSS file using @use 'webcoreui/styles' as *; @include setup(...). Then you import individual components from the appropriate subpath and use them as markup. The CLI can handle this setup automatically for new projects.
WebcoreUI is free and open-source, released under the MIT license. The npm package has no paid tiers, and all components, blocks, and templates are available without charge.
Yes. WebcoreUI is published under the MIT license, so it is free to use in personal and commercial projects without licensing fees.
WebcoreUI supports Astro, Svelte, and React. You import components from separate subpaths — webcoreui/astro, webcoreui/svelte, or webcoreui/react — depending on your project.
Run npm i webcoreui for a manual install, or use npm create webcore@latest to scaffold a new project via the CLI. The CLI also offers a config command to update an existing Astro project.
No. WebcoreUI is styled with Sass and a compiled CSS setup. The setup() mixin can include its own reset and utility classes, so no separate CSS framework is required.
WebcoreUI includes four templates: Authentication, Blog, Portfolio, and ProductPage. You can generate any of them into a target directory using npm create webcore@latest template TemplateName destination.
