Chuyển đến nội dung chính

Get Involved

Whether you are a developer, designer, writer, project builder, or just someone passionate about Cardano.

Role Card

RoleCard​

A compact card with an accented icon, title and description. Made for introducing ecosystem roles, principles, or any small set of related entities. Optionally renders as a link.

Basic Usage​

import RoleCard from '@site/src/components/Layout/RoleCard';
import { FaUsers } from 'react-icons/fa';

<RoleCard
accent="blue"
icon={<FaUsers />}
title="Delegated Representatives"
>
DReps vote on governance proposals on behalf of ada holders who delegate to them.
</RoleCard>

Props​

PropTypeDefaultDescription
iconReactNode-Icon shown in the accented circle. Use a FontAwesome icon component (e.g. <FaUsers />).
titlestring-Card heading.
childrenReactNode-Description text below the title.
accent'blue' | 'violet' | 'teal''blue'Tints the icon background and the title.
hrefstring-If set, the card renders as a <Link> to this URL.
classNamestring-Additional class name passed to the root element.

Live Preview​

Delegated Representatives

DReps vote on governance proposals on behalf of ada holders who delegate to them.

Stake Pool Operators

SPOs validate transactions and vote on hard forks and security-critical parameters.

Constitutional Committee

Ensures governance proposals align with Cardano's constitution.