![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
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.
@trycourier/react-elements
Advanced tools
Shareable components for each Courier package
Courier React Elements is a package of bite sized components that are shared between our larger components like Inbox and Toast.
This package includes highly reusable components such as buttons, icons, and modals.
Caution: This package is not yet stable. Interfaces are subject to change.
A simple button. Uses <button>
as its root element.
Usage:
import { Button } from 'react-elements';
interface ButtonProps {
size?: "xs" | "sm" | "md" | "lg";
/** Color of the button */
color?: string;
/** Defaults to white */
textColor?: string;
/** CSS Overrides to apply to the button*/
css?: CSSObject;
}
<Button onClick={doWork} css={{ borderRadius: 5 }}>
Click Me!
<Button/>
A set of icons.
Available icons:
Usage:
import { icons } from "react-elements";
export interface IconProps {
/** Defaults to 100% of parent. */
size?: "xs" | "sm" | "md" | "lg" | number;
color?: string;
/** CSS Overrides of the SVG container */
css?: CSSObject;
/** CSS Overrides of the SVG tag */
svgCSS?: CSSObject;
}
<icons.Courier fill={"tomato"} />;
A simple button. Uses <a>
as its root element.
Usage:
import { LinkButton } from 'react-elements';
interface ButtonProps {
size?: "xs" | "sm" | "md" | "lg";
// Color of the button
color?: string;
/** Defaults to white */
textColor?: string;
/** CSS Overrides to apply to the button*/
css?: CSSObject;
}
<LinkButton onClick={doWork} css={{ borderRadius: 5 }}>
Click Me!
<LinkButton/>
A simple title. Uses <h1>
as its root element.
Usage:
import { Title } from "react-elements";
interface TitleProps {
children: React.ReactNode;
/** CSS Overrides to apply to the title*/
css?: CSSObject;
}
<Title>Hello World</Title>;
FAQs
Shareable components for each Courier package
The npm package @trycourier/react-elements receives a total of 11,218 weekly downloads. As such, @trycourier/react-elements popularity was classified as popular.
We found that @trycourier/react-elements demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.