mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 04:13:02 +00:00
Initial commit
This commit is contained in:
parent
559701ec86
commit
c55e3a9b3d
7 changed files with 697 additions and 455 deletions
|
@ -39,6 +39,10 @@ components: ["TextInput", "TextInputSkeleton"]
|
|||
|
||||
<TextInput size="sm" labelText="User name" placeholder="Enter user name..." />
|
||||
|
||||
## Character Counter
|
||||
|
||||
<TextInput labelText="Username" placeholder="Enter username..." maxCount={32} counter="char" />
|
||||
|
||||
## Invalid state
|
||||
|
||||
<TextInput invalid invalidText="User name is already taken. Please try another." labelText="User name" placeholder="Enter user name..." />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue