codebase is a set of beautifully-designed, accessible components and a code distribution platform.
This is not a component library. It is how you build your component library.
You know how most traditional component libraries work: you install a package from NPM, import the components, and use them in your app.
This approach works well until you need to customize a component to fit your design system or require one that isn't included in the library.
This is what codebase aims to solve. It is built around the following principles:
codebase hands you the actual component code. You have full control to customize and extend the components to your needs.
Every component in codebase shares a common, composable interface. If a component does not exist, we bring it in, make it composable, and adjust its style to match.
codebase is also a code distribution system. It defines a schema for components and a CLI to distribute them.
codebase comes with a large collection of components that have carefully chosen default styles.
The design of codebase makes it easy for AI tools to work with your code.