Here are a few tips for using inputs:
published 2.0.13 5 years agoWhen using a `<label>`, it’s important to ensure that the `<label>` is linked to a form element. You can do this by:
published 1.3.5 5 years agoThe `tp-link` classes are used to style anchor tags.
published 0.1.10 5 years agoHere are a few tips for using radio buttons:
published 3.0.7 5 years agoThis is the default size for select dropdowns.
published 2.0.10 5 years ago```html <label class="tp-label" for="example-basic-textarea">Business description</label> <textarea class="tp-textarea" id="example-basic-textarea" placeholder="Tell us about your business" /> ```
published 2.0.7 5 years agoThese type styles uses [variables from Thumbprint Tokens](/tokens/#section-type). You can refer to that documentation for font-size, line-height, and font-weight values.
published 4.0.8 5 years agoYou can use `tp-grid` to lay out inputs within a form.
published 3.0.9 5 years agoGrid column widths assume a "mobile first" approach. If columns widths need to change based on browser width you can supply additional column widths that apply at breakpoint.
published 1.3.6 5 years ago- published 2.0.8 5 years ago
Basic wrapper with a max-width and side padding.
published 1.2.6 5 years agoCheckboxes can be checked, unchecked, or in an indeterminate state.
published 3.1.6 5 years agoThe `Carousel` component is a low-level controlled component. It displays multiple items in a row and animates when the `selectedIndex` changes. It is infinite by default and the contents are draggable by touch devices.
published 0.1.7 5 years agoThe `DatePicker` can optionally have an initial date selected.
published 7.0.9 5 years ago--- package: '@thumbtack/tp-ui-react-grid' kit: layout/grid.yaml platform: react url: /api/components/layout/grid/react/ ---
published 0.2.5 5 years ago--- package: '@thumbtack/tp-ui-react-input' kit: element/input.yaml platform: react url: /api/components/element/input/react/ ---
published 5.3.1 5 years agoThe `Label` React component uses the `for` prop to associate itself with a form field.
published 2.1.5 5 years ago