sciter
shadcn/ui
Our great sponsors
sciter | shadcn/ui | |
---|---|---|
84 | 129 | |
2,563 | 53,819 | |
0.2% | 13.3% | |
0.0 | 9.3 | |
11 months ago | 2 days ago | |
C++ | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sciter
-
Show HN: Dropflow, a CSS layout engine for node or <canvas>
> wondering if css and svg could be used as abstraction over graphics and UI libraries
There's another project called Sciter that uses CSS to target native graphics libraries: https://sciter.com
> I wonder how hard it was to implement css. I've heard it can be pretty complex.
It was hard, but the biggest barrier is the obscurity of the knowledge.
Text layout is the hardest, because working with glyphs and iterating them in reverse for RTL is brain-breaking. And line wrapping gets really complicated. It's also the most obscure because nobody has written down everything you need to know in one place. After I finished block layout early on, I had to stop for a couple of years (only working a few hours a week though) and learn all of the ins, outs, dos, and don'ts around shaping and itemizing text. A lot of that I learned by reading Pango's [1] source code, and a lot I pieced together from Google searches.
But other than that, the W3C specifications cover almost everything. The CSS2 standard [2] is one of the most beautiful things I've ever read. It's internally consistent, concise, and obviously the result of years of deliberation, trial and error. (CSS3 is great, but CSS2 is the bedrock for everything).
- Ask HN: Fastest cross-platform GUI stack/strategy
-
Immediate Mode GUI Programming
otherwise, if we have only retained mode as in browsers, we will need to modify the DOM heavily and create temporary elements for handles.
- This year in Servo: over 1000 pull requests and beyond
-
Rusty revenant Servo returns to render once more
I've still never used it but I've long been curious about Sciter:
- Ode to the M1
-
So you want to write a GUI framework (2021)
These bullet points are exactly what I did in Sciter (https://sciter.com)
- Windowing
-- Tabs
-- Menus
-- Painting
-- Animation
-- Text
-The compositor
-Handling input
-- Pointer input
-- Keyboard input
- Accessibility
- Internationalization and localization
- Cross-platform APIs
- The web view
- Native look and feel
On top of that DOM and CSS implementations to achieve declarative UI. And JS as a languuage behind UI - declarative in some sense way of defining UI behavior.
-
Servo, the parallel browser engine written in Rust
I'm not sure if it can support all the libraries but yes it can be used to make desktop apps. Theres also Sciter.
-
Digital Audio Workstation Front End Development Struggles
I agree web stuff is really the best way to develop UIs. Good luck making responsive stuff in C++ for example. The paradigm of HTML, CSS, and JS is extremely powerful and even allows you to use canvas, webgpu, wasm.
There are multiple commercial projects that use web dev paradigm for GUIs:
-
RePalm
I did UI part of it.
Up until last year my Sciter ( https://sciter.com ) worked on WinCE.
Dropped support after my last customer that was using WinCE decided to drop support of that OS.
WinCE had pretty solid and stable core runtime and API. Graphics was limited by GDI (no antialiasing and alpha channel) but that was the only major problem.
shadcn/ui
-
Building a Fast, Efficient Web App: The Technology Stack of PromptSmithy Explained
For development of the UI components, we tried something new. Vercel has this new AI tool called v0.dev that allows developers to take advantage of shadcn/ui and Tailwind using nothing but words, which can then be easily downloaded to your local project using nothing but a simple npx command.
-
Epic Next.js 14 Tutorial: Learn Next.js by building a real-life project: Part 1
You can learn more here.
-
How to add Passkey Login to Next.js using NextAuth and Hanko
Shadcn UI for pretty UI out of the box
-
kbar-svelte-mini - ctrl+k menu for your Svelte website
Recently I was working on a project, and I want to have the super nice ctrl+k or cmd+k (for mac users) navigation/menu on the website, but there is a problem, similar to why most use shadcn-ui, I also want something that is gives great result with less effort.
- Tailwind Color Palette Generator
- Show HN: WAYF โ A Simple Scheduling App
-
Next.js and GPT-4: A Guide to Streaming Generated Content as UI Components
shadcn/ui is a UI component library that generates ready-made React components inside your project. It is used to create several UI components for the front end of our application.
-
5 UI component libraries to build custom apps in 2024
NextJS + shadcn/ui
- Shadcn: Beautifully designed components that you can copy-paste into your apps
-
Iotawise: An Open-Source Habit Tracking App
shadcn/ui Components: Leveraging components for a consistent and polished UI.
What are some alternatives?
daisyui - ๐ผ ๐ผ ๐ผ ๐ผ ๐ผ โThe most popular, free and open-source Tailwind CSS component library
material-ui-docs - โ ๏ธ Please don't submit PRs here as they will be closed. To edit the docs or source code, please use the main repository:
nextui - ๐ Beautiful, fast and modern React UI library.
mantine - A fully featured React components library
flowbite - Open-source UI component library and front-end development framework based on Tailwind CSS
antd - An enterprise-class UI design language and React UI library
headlessui - Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
chakra-ui - โก๏ธ Simple, Modular & Accessible UI Components for your React Applications
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
qt - Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
primitives - Radix Primitives is an open-source UI component library for building high-quality, accessible design systems and web apps. Maintained by @workos.