@thumbtack/tp-ui-react-service-card
@thumbtack/tp-ui-react-service-card
npm i @thumbtack/tp-ui-react-service-card
Deprecated!
This package is deprecated in favor of the '@thumbtack/thumbprint-react' NPM package.
@thumbtack/tp-ui-react-service-card

@thumbtack/tp-ui-react-service-card

Thumbprint is the design system at Thumbtack.

by thumbtack

0.2.10 (see all)License:UNLICENSEDTypeScript:Not Found
npm i @thumbtack/tp-ui-react-service-card
Readme

package: '@thumbtack/tp-ui-react-service-card' kit: component/service-card.yaml platform: react

url: /api/components/component/service-card/react/

Service Card

Notes:

  • Cards should be shown in a responsive grid with 3 or 4 per row
  • ServiceCardTitle will be truncated to two lines using CSS

With icon

<div style={{ maxWidth: '300px' }}>
    <ServiceCard url="https://www.thumbtack.com/k/massage/near-me/">
        <ServiceCardImage
            alt="Sprinkler and Irrigation System Repair and Maintenance"
            url="https://d1vg1gqh4nkuns.cloudfront.net/i/318810408927723609/small/standard/hero"
        />
        <ServiceCardTitle>Sprinkler and Irrigation System Repair and Maintenance</ServiceCardTitle>
        <ServiceCardDescription icon={<ContentModifierMapPinSmall />}>
            67 Pros near you
        </ServiceCardDescription>
    </ServiceCard>
</div>

Without icon

<div style={{ maxWidth: '300px' }}>
    <ServiceCard url="https://www.thumbtack.com/k/massage/near-me/">
        <ServiceCardImage
            alt="Sprinkler and Irrigation System Repair and Maintenance"
            url="https://d1vg1gqh4nkuns.cloudfront.net/i/318810408927723609/small/standard/hero"
        />
        <ServiceCardTitle>Sprinkler and Irrigation System Repair and Maintenance</ServiceCardTitle>
        <ServiceCardDescription>
            Let us help you keep your lawn green and your garden happy and healthy.
        </ServiceCardDescription>
    </ServiceCard>
</div>
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate