Get started with shoelace-css CDN
MIT licensed
Shoelace-CSS is a lightweight, modular CSS-in-JS library for building accessible, composable components in React.
Tags:- basics
- css
- starter
Stable version
Copied!
How to start using shoelace-css CDN
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdn.cdnhub.io/shoelace-css/2.14.0/shoelace.css" />
<title>Get started with shoelace-css CDN - cdnhub.io</title>
</head>
<body>
<form class="form" onsubmit="event.preventDefault(); handleFormSubmit(event)">
<sl-label for="name">Name:</sl-label>
<sl-input id="name" name="name" value="John Doe" required></sl-input>
<sl-error id="name-error" if="$form.name.invalid">Please enter a valid name.</sl-error>
<button type="submit">Submit</button>
</form>
<script>
function handleFormSubmit(event) {
// Form validation and submission logic here
}
</script>
</body>
</html>
All versions
1.0.0-beta.25
1.0.0-beta1
1.0.0-beta10
1.0.0-beta11
1.0.0-beta12
1.0.0-beta13
1.0.0-beta14
1.0.0-beta15
1.0.0-beta16
1.0.0-beta17
1.0.0-beta18
1.0.0-beta19
1.0.0-beta2
1.0.0-beta20
1.0.0-beta21
1.0.0-beta22
1.0.0-beta23
1.0.0-beta24
1.0.0-beta3
1.0.0-beta4
1.0.0-beta5
1.0.0-beta6
1.0.0-beta7
1.0.0-beta8
1.0.0-beta9
2.0.0
2.0.0-beta.34
2.0.0-beta.35
2.0.0-beta.36
2.0.0-beta.37
2.0.0-beta.38
2.0.0-beta.39
2.0.0-beta.40
2.0.0-beta.41
2.0.0-beta.42
2.0.0-beta.43
2.0.0-beta.44
2.0.0-beta.45
2.0.0-beta.46
2.0.0-beta.47
2.0.0-beta.48
2.0.0-beta.49
2.0.0-beta.50
2.0.0-beta.51
2.0.0-beta.52
2.0.0-beta.53
2.0.0-beta.54
2.0.0-beta.55
2.0.0-beta.56
2.0.0-beta.57
2.0.0-beta.58
2.0.0-beta.59
2.0.0-beta.60
2.0.0-beta.61
2.0.0-beta.62
2.0.0-beta.63
2.0.0-beta.64
2.0.0-beta.65
2.0.0-beta.66
2.0.0-beta.67
2.0.0-beta.68
2.0.0-beta.69
2.0.0-beta.70
2.0.0-beta.71
2.0.0-beta.72
2.0.0-beta.73
2.0.0-beta.74
2.0.0-beta.75
2.0.0-beta.76
2.0.0-beta.77
2.0.0-beta.78
2.0.0-beta.79
2.0.0-beta.80
2.0.0-beta.81
2.0.0-beta.82
2.0.0-beta.83
2.0.0-beta.84
2.0.0-beta.85
2.0.0-beta.86
2.0.0-beta.87
2.0.0-beta.88
2.1.0
2.10.0
2.11.0
2.11.1
2.11.2
2.12.0
2.13.0
2.13.1
2.14.0
2.15.0
2.15.1
*** 2.16.0
2.2.0
2.3.0
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.7.0
2.8.0
2.9.0