Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Aui is a small glue component that intigrates Semantic UI into React as properties, which feels more natural.
Instead of many new components, all properties that === true are automatically translated into the className of each tag. Semantic Module and other semantic javascript is automatically called on things that need it, like dropdown and even api. (don't forget to include semantic.css on your page!)
const React = require('React'),
Aui = require('aui').Aui;
export const Login = React.createClass({
render() {
return (
<Aui>
<form ui form>
<div ui large fluid icon input>
<input type="text" name="username" placeholder="username..." />
<i ui large user icon />
</div>
<div ui large fluid icon input>
<input type="password" name="password" placeholder="password..." />
<i ui large privacy icon />
</div>
<div ui large white fluid button> Login </div>
</form>
</Aui>
);
}
});
React.render(
<Aui>
<div ui page grid>
<div column>
<Login/>
</div>
</div>
</Aui>,
document.body);
The dom should turn out something like this after render:
<body>
<div class="ui page grid">
<div class="column">
<form class="ui form">
<div class="ui large fluid icon input">
<input type="text" name="username" placeholder="username..."></input>
<i class="ui large user icon"></i>
</div>
<div class="ui large fluid icon input">
<input type="password" name="password" placeholder="password..."></input>
<i class="ui large privacy icon"></i>
</div>
<div class="ui large white fluid button"> Login </div>
</form>
</div>
</div>
</body>
FAQs
Aui is Semantic-UI + React
The npm package aui receives a total of 2 weekly downloads. As such, aui popularity was classified as not popular.
We found that aui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.