Skip to content

added textSize property to BaseInput, EtherInput, AddressInput. added…#95

Open
NikolaiL wants to merge 1 commit intoscaffold-eth:mainfrom
NikolaiL:feature/configurable-textsize
Open

added textSize property to BaseInput, EtherInput, AddressInput. added…#95
NikolaiL wants to merge 1 commit intoscaffold-eth:mainfrom
NikolaiL:feature/configurable-textsize

Conversation

@NikolaiL
Copy link

Fixes #79

  • Added a textSize prop to BaseInput, AddressInput, and EtherInput components
  • Allows customizing the font size of the input text using Tailwind's text size scale

Changes

  • BaseInput.tsx: Added TextSize type and textSize prop that applies text-{size} class to the input element
  • AddressInput.tsx: Added textSize prop, passed through to BaseInput
  • EtherInput.tsx: Added textSize prop, passed through to BaseInput
  • Input/index.ts: Exported TextSize type for consumers
  • Documentation: Updated props tables for all three components

Props

Value Description
xs Extra small
sm Small
base Base (default)
lg Large
xl Extra large
2xl 2x large

Usage

<BaseInput textSize="lg" placeholder="Large text" />
<AddressInput textSize="sm" placeholder="Small text" />
<EtherInput textSize="xl" placeholder="Extra large" />

@vercel
Copy link

vercel bot commented Jan 31, 2026

@NikolaiL is attempting to deploy a commit to the BuidlGuidl Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make EtherInput Component size configurable

1 participant