Clarity Design System Web Components
npm install @clr/coreClarity Core is a suite of Web Components for Clarity Design System.
1. First, install the Clarity Core package from npm.
``bash`
npm install @clr/core --save
2. Import desired Web Component into your JavaScript or TypeScript
`typescript`
import '@clr/core/modal/register.js';
Full installation steps can be found in the Core Getting Started Guide.
` slot contenthtml`
`html
slot content
`
`html
slot content
`
` slot contentjsxsize
/*
- unlike the examples above size is set as a propertycloseChange
- closable is setting a property on the element
- onCloseChange is listening for the custom event``
*/