Get started with grommet CDN

Apache-2.0 licensed

Grommet is a modular, customizable JS framework for building responsive web applications.

Tags:
  • grommet
  • grommet.js
  • UX framework

Stable version

Copied!

How to start using grommet CDN


<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/grommet/dist/grommet.min.css">
  <title>Get started with grommet CDN - cdnhub.io</title>
</head>
<body>
  <div id="root"></div>
  <script src="https://cdn.cdnhub.io/grommet/2.36.0/grommet.min.js"></script>
  <script>
    import { Box, Heading, Text } from 'grommet';

    const App = () => (
      <Box pad="large">
        <Heading level={1}>Grommet Example</Heading>
        <Text>Welcome to the Grommet example using the CDN link.</Text>
      </Box>
    );

    ReactDOM.render(<App />, document.getElementById('root'));
  </script>
</body>
</html>
Copied!
Copied!

All versions