@grantcodes/ui
v2.15.7
Published
A personal component system built with Lit web components
Readme
grant.codes UI
A personal component system.
Components are built with Lit web components using CSS modules for styles with theming provided by my custom style dictionary.
Installing
npm install @grantcodes/uiUsage
Everything should mostly just work out of the box, without much setup 🤞.
Components can be used directly in HTML or imported as ES modules.
<grantcodes-button>Click me</grantcodes-button>import { GrantCodesButton } from '@grantcodes/ui/components/button';For Astro projects, pair this package with @grantcodes/astro for the lowest-friction setup.
Creating a new component
To create a new component run npm run generate. Uses plop.js for scaffolding.
