Log In Sign Up

Docs

OrcaUI: Full API docs with examples for all components & utilities.
HomeDocs
The project has been completed, and we are preparing more content, which will be rolled out gradually in the near future.
Default Sort by ID Recently Updated Featured Most Viewed
  • Direction refers to the writing direction. Latin and Chinese scripts are written left-to-right (LTR), while Arabic and Hebrew are written right-to-left (RTL), often requiring RTL configuration.
  • Web content needs to be contained within a defined area called an outer container. This container wraps all content and enables responsive scaling. Users can easily achieve cross-device responsiveness by simply adding a wrap container. The container ...
  • Displays the CSS animations integrated in this framework, including transition animations and keyframe animations, which can meet daily usage needs.
  • Flexible layout, also known as flex layout, is the mainstream layout method for web pages today. It solves the collapse issue of float layouts and the 4px gap problem of inline-block elements. Most importantly, flex layout is inherently suitable for ...
  • The grid layout system can replace traditional table layouts; it can simulate tables for data display while also mimicking flexbox for multi-column layouts. This framework primarily uses flexbox and grid layouts.
  • Atomic positioning for 'position', providing basic positioning types and directions.
  • Margin controls outer spacing while padding handles inner spacing. The _m[-*] utility classes independently configure element margins with support for size and positioning. Similarly, _p[-*] classes independently set element padding with size and pos...
  • Use _bg[-*] style classes to independently define section background colors. Supports color schemes including prim, succ, error, etc. Additionally, _bg-stage can be used for the current page's background color scheme (defaults to white).
  • Gradients are typically used for section backgrounds. For standard web pages, it's best not to use too many colors, so OrcaUI's gradient system only employs two-color gradients. It supports gradients with all primary colors across 8 directions, using...
  • Users can independently control width and height using _w-* and _h-* style classes. Dimensions use input height as the base unit (e.g., _w-1 equals 40px, _w-6 equals 40*6px). Includes three special sizes: neat (matches input width), half (50%), and f...
  • By controlling the aspect-ratio property, block elements can automatically maintain proportional dimensions based on either width or height, supporting common media sizes.
  • Use _sd[-*] style classes to independently apply shadows to elements. In this framework, shadows are categorized by style rather than size. For example, shadows can simulate borders without occupying space, or create diffused spreading effects to evo...
  • Use _r[-*] style classes to independently set an element's border radius, supporting customization of size and position. The sizing is based on a 3px increment (e.g., _r-3 means 3px*3).
  • Utilizes various fonts and font sizes to meet general webpage display needs for headings and body text
  • Explains the relationship between color utility classes and CSS variables for color generation. This article provides a clear understanding of how OrcaUI's color theme system works, empowering users to customize their own theme styles after mastering...
  • Empty includes styles or states displayed for blank content or empty tags
  • The _bd or _bd-* classes represent standalone border styling (outline-like borders) that can be applied to any element. These styles support border positioning and sizing, with all _bd[-*] variants using solid borders. Unlike outline, these borders o...
  • The text formatting styles were previously scattered across CSS and native HTML tags, making them inconvenient to use. This framework has now integrated commonly used text formats into CSS, standardizing their implementation through CSS classes rathe...
  • The article tag is one of HTML5's semantic elements, and the main body of an article should be placed within this tag. This framework has optimized and improved the article tag, ensuring that its internal child elements display with excellent layout ...
  • This framework comes with a built-in icon font (iconfont). Icons can be used either by applying the _icon[-*] style classes, or by writing the main name of the icon inside the tag and then applying the icon font to that tag. The icon font library wil...
  • This framework resets the styles of some commonly used native HTML elements to align with the framework's design language. While it overrides default element styles, it preserves their core functionality and ensures accessibility compliance, avoiding...
  • Show the development and version update history of the OrcaUI front-end framework, and publicly release the historical version numbers on this page.
  • Achieves multi-device responsiveness through various methods: width adaptation via @media min/max-width queries, adaptive styling with classes like _xxs-1/_xs-2, mobile device adaptation via @media any-hover, breakpoint configuration using breakpoint...
  • This framework can be integrated via the `use()` method before `mount`, and can be used within the `mounted` lifecycle hook.
  • This framework can be integrated both inside and outside React. It allows using WebComponent components anywhere within React, and its modules can be utilized in the useEffect hook.
  • Static resources include large images, thumbnails, cover images, SVG icons, PNG icons, videos, audio, etc., used for demo purposes. Click to get resource links. Files are hosted on npm and delivered via unpkg CDN for fast global access.
  • Variable and naming abbreviations are primarily intended to improve developer programming efficiency, followed by making it easier for users to remember and quickly use them, and finally to reduce file size. However, when using framework code in the ...
  • OrcaUI's CSS styles use the `_` prefix as a namespace identifier. This character is reserved for private/internal use, and users should avoid using it in their custom CSS styles.
  • OrcaUI's JS and CSS files are manually minified using Terser, including 3 JS files and 1 CSS file. If users modify the source code, re-minification is required. We recommend installing Terser, which supports modern JavaScript syntax.
  • OrcaUI's language packs are stored in src/scripts/lang directory, using en-US English by default, with built-in multilingual support for framework internationalization; customize by modifying specific language packs. Language packs use export default...
  • Learn how to set up an OrcaUI page, reference JS/CSS files in multiple ways, and explore a live CodePen demo. Let’s get started with the OrcaUI front-end framework!
  • Describe the development journey of the OrcaUI framework—it is both an accumulation of experience and a culmination of persistent effort. Staying true to our original vision, we remain committed to the native JavaScript, CSS, and HTML standards, stri...
  • The Accordion component can create nested collapsible panels and supports multiple data formats.

New Launch: 20% Off All Products

Unlock all examples and development resources