Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Omi | 12,745 | 22 | 96 | 3 days ago | 278 | May 18, 2023 | 104 | other | JavaScript | |
Web Components Framework - Web组件框架 | ||||||||||
Coreui Free Bootstrap Admin Template | 11,655 | 3 | 3 | 7 days ago | 3 | May 25, 2017 | 5 | mit | HTML | |
Free Bootstrap Admin & Dashboard Template | ||||||||||
Sing App | 1,205 | 2 years ago | 7 | mit | Handlebars | |||||
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥 | ||||||||||
Shards Dashboard | 1,190 | 10 months ago | 1 | May 14, 2019 | 14 | mit | CSS | |||
🔥A beautiful Bootstrap 4 admin dashboard templates pack. | ||||||||||
Macos Enterprise Privileges | 1,122 | 20 days ago | 28 | apache-2.0 | Objective-C | |||||
For Mac users in an Enterprise environment, this app gives the User control over administration of their machine by elevating their level of access to Administrator privileges on macOS. Users can set the time frame using Preferences to perform specific tasks such as install or remove an application. | ||||||||||
Dashicons | 554 | 8 months ago | gpl-3.0 | JavaScript | ||||||
Dashicons, the WordPress admin icon font. For the official resource, please see the WordPress Developer Hub. | ||||||||||
Django Material Admin | 273 | 3 | 10 months ago | 144 | December 25, 2021 | 48 | mit | HTML | ||
Material design for django administration | ||||||||||
Srtdash Admin Dashboard | 256 | 4 years ago | 3 | HTML | ||||||
Free admin dashboard template | ||||||||||
Portal Theme Bs5 | 249 | 3 months ago | 8 | HTML | ||||||
Portal - Free Bootstrap 5 Admin Dashboard Template For Developers | ||||||||||
Kpi | 112 | 4 days ago | 597 | agpl-3.0 | Python | |||||
kpi is the (frontend) server for KoBoToolbox. It includes an API for users to access data and manage their forms, question library, sharing settings, create reports, and export data. |
English | 简体中文
import { tag, WeElement, h, render } from 'omi'
@tag('hello-world')
class HelloWorld extends WeElement {
static css = 'p { color: red }'
render(props) {
return (
<>
<h1>Omi</h1>
<p>Hello {props.msg}</p>
</>
)
}
}
render(<hello-world msg='World' />, 'body')
className
filename-classname-hash
, such as CSS Modules, Vue), are hack technologies; _and Shadow DOM Style is the perfect solutionfalse
attributes to elements through string '0'
or string 'false'
, you can pass object
attributes to elements through :
prefix and Omi.$
$ npx omi-cli init my-app # init project
$ cd my-app
$ npm start # develop
$ npm run build # release
$ npx omi-cli init-component my-component # init project
$ cd my-app
$ npm start # develop
$ npm run build # release
Define cross-frameworks button element with TypeScript:
import { tag, WeElement, h, extractClass } from 'omi'
import * as css from './index.scss'
interface Props {
size?: 'medium' | 'small' | 'mini',
type?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text'
plain?: boolean,
round?: boolean,
circle?: boolean,
loading?: boolean,
disabled?: boolean,
icon?: string,
autofocus?: boolean,
nativeType?: 'button' | 'submit' | 'reset',
block?: boolean
text?: string
}
@tag('o-button')
export default class Button extends WeElement<Props>{
static css = css
static defaultProps = {
plain: false,
round: false,
circle: false,
loading: false,
disabled: false,
autofocus: false,
nativeType: 'button',
block: false
}
static propTypes = {
size: String,
type: String,
plain: Boolean,
round: Boolean,
circle: Boolean,
loading: Boolean,
disabled: Boolean,
icon: String,
autofocus: Boolean,
nativeType: String,
block: Boolean,
text: String
}
render(props) {
return <button disabled={props.disabled} {...extractClass(props, 'o-button', {
['o-button-' + props.type]: props.type,
['o-button-' + props.size]: props.size,
'is-plain': props.plain,
'is-round': props.round,
'is-circle': props.circle,
'is-disabled': props.disabled,
'is-block': props.block
})} type={props.nativeType} >
{props.loading && <i class='icon-loading'></i>}
{props.text}
<slot></slot>
</button>
}
}
import { h, WeElement, tag, classNames } from 'omi';
import * as styles from './_index.less';
interface ButtonProps {
href?: string,
disabled?: boolean,
type?: 'default' | 'primary' | 'danger',
htmltype?: 'submit' | 'button' | 'reset',
onClick?: (e: any) => void
}
const TAG = 'o-button'
declare global {
namespace JSX {
interface IntrinsicElements {
[TAG]: Omi.Props & ButtonProps
}
}
}
@tag(TAG)
export default class oButton extends WeElement<ButtonProps> {
...
...
...
Omi works in the latest two versions of all major browsers: Safari 10+, IE 11+, and the evergreen Chrome, Firefox, and Edge.
<script src="https://unpkg.com/@webcomponents/we[email protected]/webcomponents-bundle.js"></script>
Any form of contribution is welcome. The above contributors have been officially released by Tencent.
We very much welcome developers to contribute to Tencent's open source, and we will also give them incentives to acknowledge and thank them. Here we provide an official description of Tencent's open source contribution. Specific contribution rules for each project are formulated by the project team. Developers can choose the appropriate project and participate according to the corresponding rules. The Tencent Project Management Committee will report regularly to qualified contributors and awards will be issued by the official contact.
Please contact us for any questions.
Project | Description |
---|---|
snake![]() |
The Snake-Eating Game Based on MVP Architecture Written by Omi |
custom-elements-everywhere | Making sure frameworks and custom elements can be BFFs 🍻 |
omi-piano![]() |
Build piano with Omi and Omi Snippets, Enjoy now! |
omi-devtools | Browser DevTools extension |
omi-chart | Simple HTML5 Charts using chart-x tag. |
md2site | Static Site Generator with markdown powered by Omio. |
omi-30-seconds | Useful Omi snippets that you can understand in 30 seconds. |
omi-canvas | Perfect fusion of web components, jsx and canvas. |
omi-swiper | Omi + Swiper |
omi-vscode | VSCode extension for omi, Install now! |
omi-ex | Omi.js extension(TypeScript) |
omi-transform | Omi / css3transform integration. Made css3 transform super easy in your Omi project. |
omi-finger | Support touch and gesture events in your Omi project. |
omi-touch | Smooth scrolling, rotation, pull to refresh and any motion for the web. |
omi-i18n | Internationalization solution for omi.js using i18next ecosystem |
omie | Build cross platform desktop apps with Omi.js and Electron.js |
omi-cv | Create a front-end engineer curriculum vitae, Get Started! |
MIT © Tencent