Shoelace 2.0: Using Web Components in CDNs
A component that outputs a dialog is created in Shoelace, for example, as developer Cory LaViska shows in the announcement for v2:
<! - Shoelace -> <sl-dialog label = "Dialog"> <h3 slot = "header"> Modal Title </h3> Modal body text goes here. <sl-button slot = "footer"> Close </sl-button> <sl-button slot = "footer" type = "primary"> Save Changes </sl-button> </sl-dialog>
Further information on Shoelace 2.0 can be found in the developer’s project presentation . The documentation on the project website has also already been adapted to v2. The library available on GitHub is under MIT license and can be used free of charge.