Tsuika is a web component and classless CSS framework that enables developers to create HTML websites quickly and easily. This project was originally intented to create only webcomponents however the growth of new.css had inspired many and enabled development of Tsuika to be something more than just a web component library. Tsuika aims to go above and beyond standard classless CSS frameworks by utilizing the power of web components.
The name "Tsuika" also derives from the Japanese word "追加" which means to add. Tsuika aims to add a set of original and powerful styles and web components on top of your standard HTML.
So what do you mean by "powered by web components?". Well its easier to understand by looking under the hood. The quote label you just saw for instance was made with a single component. (so is the code block component below as well!)
Like this you don't to style anything because Tsuika does that all for you. And unlike a standard classless CSS framework, Tsuika allows you to add a variety of styles to your static webpages. In otherwords, you can do the thing you meant to do which was focusing on the content.
Because Tsuika is importing components seperately as modules it only uses the JavaScript files that you need! This treeshakable architecture makes it quick and performant.
In addition to styling by tags, Tsuika offers a multiple array of web components that makes it easy to add and remove powerful features on to your website like bar graphs and carousels!
Tsuika is without a doubt simple. No module bundlers and no need to use a package manager. All of its rich features can be accessible through its CDN!
Because Tsuika are importing components seperately as modules it only uses the JavaScript files that you need! This treeshakable architecture makes it quick and performant.
Component | Description | Properties | Property Values |
---|---|---|---|
card-normal |
A card component (Your newdiv ) |
borderType |
boxShadow border |
card-p |
A card component specifically made for text | type |
banner quote |
card-glance |
A card component to display long piece of information. | btnStart btnStart |
The name of the button (String value) |
card-carousel |
Insert multiple components to activate a scrollable container. | N/A | N/A |
container-split |
Insert multiple components to have them line up side by side. (display a 2 x ∞ grid) | N/A | N/A |
graph-bar |
A component to display a horizontal bar graph. | % |
Integer as string |
code-block |
A component to display a your code. Clicking the component enables visitors to copy its content. |
code
|
String value |
All necessary information is available in the README file on the Tsuika Github repository. View README.md
README.md
file.
global.css
file, and finally the component JavaScript files (which should be in the /components/
directory.) *If you are using the code-block
component, be sure to add the shiki CDN to the head of your html file.
You can select a theme and use that to customize the looks of your website.
View All Themes