Components
Navigation link for use within text that respects line breaks and text flow. Works with both href and onClick (rendering an anchor or button tag), offers underline and plain variants, primary/positive/critical/warning/inherit colors, a disabled state and an optional icon for standalone usage.
npx @21st-dev/cli add reshaped/reshaped-linkLoading preview...
import { Reshaped } from "reshaped/bundle";
import Link from "@/components/ui/reshaped-link";
export default function Demo() {
return (
<Reshaped theme="slate">
<div style={{ maxWidth: 520, width: "100%", margin: "0 auto", padding: 24 }}>
<p>
Improving your product’s <Link onClick={() => {}}>accessibility</Link> can
enhance the usability for all users, including those with low vision,
blindness, hearing impairments, cognitive impairments, motor impairments or
situational disabilities (such as a broken arm).
</p>
</div>
</Reshaped>
);
}
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...