Introduction
AsagaoUI is a UI component framework for digital services that use a simple and beautiful UI. It is ideal for those seeking a simple yet elegant UI. Currently, AsagaoUI includes UI component implementations for websites. We plan to provide UI component implementations for Android in the future.
Quick Start
To get started with AsagaoUI, be sure to make the following two important settings:
- Add the
viewportmeta tag. - Add the root class
.auito the<body>.
The template HTML for a quick start is as follows:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>quick start AsagaoUI</title>
</head>
<body class="aui">
<h1>AsagaoUI</h1>
</body>
</html>
Loading Required CSS and JS
The easiest way is to load the files distributed by jsdelivr using <link> and <script> tags.
CSS
<link href="https://cdn.jsdelivr.net/npm/asagaoui/dist/css/asagaoui.min.css" rel="stylesheet">
JS
<script src="https://cdn.jsdelivr.net/npm/asagaoui/dist/js/asagaoui.min.js"></script>
The HTML after placing the tags is as follows:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>quick start AsagaoUI</title>
<link href="https://cdn.jsdelivr.net/npm/asagaoui/dist/css/asagaoui.min.css" rel="stylesheet">
</head>
<body class="aui">
<h1>AsagaoUI</h1>
<script src="https://cdn.jsdelivr.net/npm/asagaoui/dist/js/asagaoui.min.js"></script>
</body>
</html>
CDN Links
You can get the CSS and JS from jsdelivr.
Offline (Self-hosted)
The necessary CSS and JS are in the dist folder.
asagaoui/dist/
├── css
│ ├── asagaoui.css
│ └── asagaoui.css.map
└── js
├── asagaoui.js
└── asagaoui.js.map
CSS
<link rel="stylesheet" href="dist/css/asagaoui.css">
JS
<script src="dist/js/asagaoui.js"></script>
Important Global Settings
HTML
AsagaoUI is designed based on HTML markup compliant with the HTML Living Standard.
CSS Reset
To achieve consistent styling, AsagaoUI uses The New CSS Reset to reset all default CSS.
Fonts
The font used in AsagaoUI is set to “Noto Sans Japanese”. The font weights used are 400 for regular text and 700 for emphasis and headings.
Default Settings
.aui {
font-family: "Noto Sans JP", "Noto Sans", sans-serif;
}
Box-sizing
For easier UI layout calculations, box-sizing is set to border-box.
Next Steps
- For an explanation of the files included in AsagaoUI, refer to the Directory Structure.
- For icons available in AsagaoUI, refer to AsagaoUI Icons.