primitives is a collection of zero-dependency custom elements designed to simplify the creation and management of web components. By focusing on declarative control and ease of modification, primitives aims to provide developers with a straightforward and efficient way to integrate custom elements into their web applications without the need for complex configurations or additional dependencies. Additionally, it uses the latest cutting-edge CSS features for defining typography, ensuring modern and visually appealing text rendering.
<ui-text></ui-text>
: Simple text component.
To get started with primitives, follow these steps:
Make sure you have the following installed on your system:
- Node.js (v14 or higher)
- npm (v6 or higher)
-
Clone the repository:
git clone https://github.com/cgoern/primitives.git cd primitives
-
Install dependencies:
npm install
-
Start the development server:
npm start
This will start the application on
http://127.0.0.1:8000
. -
Open your browser and navigate to
http://127.0.0.1:8000
to see the application in action.