CodyHouse Components is a library of accessible, progressively enhanced, HTML, CSS, JS components that work seamlessly with the Framework.
Please bear in mind the components use CSS variables, mixins and utility classes defined in the Framework. You can use a component without the framework, but make sure to replace all variables and mixins.
Progressive enhancement #
The Framework and the Components are built following the principle of progressive enhancement. Please make sure to include the following script in the
<head> of your document:
<script>document.getElementsByTagName("html").className += " js";</script>
How to import the Components #
The way you import the components depends on the set-up of your project:
Here's a quick video that shows how using our components can speed up your workflow: