Icons / text-input-02 text-input-02 TextInput02, one of the 856 Vela UI icons, in the General group: a 24px grid drawn in currentColor, so it takes the colour of the text around it. It installs on its own as @velaui/icon-text-input-02.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-text-input-02Copy npx shadcn@latest add @velaui/icon-text-input-02Copy yarn dlx shadcn@latest add @velaui/icon-text-input-02Copy bunx --bun shadcn@latest add @velaui/icon-text-input-02Copy Usage
Copy // components/icons/text-input-02.tsx
import TextInput02 from "@/components/icons/text-input-02"
<TextInput02 className = "size-5 text-muted" /> In use In a button
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy import * as React from "react" ;
export interface TextInput02Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function TextInput02 ({ size = 24, strokeWidth = 1, className, ref, ... props } : TextInput02Props) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M6.60002 12.6004V11.4004M21.6 9.60039V14.4004C21.6 15.0631 21.0628 15.6004 20.4 15.6004H3.60002C2.93728 15.6004 2.40002 15.0631 2.40002 14.4004V9.60039C2.40002 8.93765 2.93728 8.40039 3.60002 8.40039H20.4C21.0628 8.40039 21.6 8.93765 21.6 9.60039Z" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
TextInput02.displayName = "TextInput02" ;
export default TextInput02;